PHP קוד:
<form id="" method="post" action="http://localhost/searchresult.php">
<input type="text" name="keyword" id="keyword" class="topinput" style="width: 120px;">
<select name="for" class="form_select">
<option value="2">שם אמן</option>
<option value="1">שם השיר</option>
</select>
<input type="submit" name="Submit" class="form_button" value="חיפוש" />
</form>
זה בעצם הקוד בדף שאני ממלא בו שם מסויים והוא נשלח לטופס searchresult.php כעת אני רוצה שלדוגמא השם דודו יופיע בדף, ואם יקלידו דודו השם דודו ישלח ל=searchresult.php. ניסיתי את הדוגמא שנתת אבל הוא רושם לי שגיאה שנראית לי שגיאת תחביר, יש איזה רעיון או כיוון?