search.php
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" utf8_unicode_ci>
<title>Dictionary Search</title>
</head>
<body>
<form method="get" action="search_function.php">
<fieldset>
Search: <input type="text" name="search">
<input type="submit" value="Search" >
</fieldset>
</form>
</body>
</html>
search_function.php
<?php
$page = $_GET["page"];

include("connect_function.php"); // Connect to DataBase
$search = $_GET['search'];
echo "$search = ";
# Search Query
$query = mysql_query("select bgwords.bg_word from bgwords inner join trwords on trwords.id=bgwords.id where trwords.tr_word like '$search'")
# Write Operation
while($read = mysql_fetch_array($query)){
	echo $read[0];
}
?>
arama yaptığımda aldığım hata
Parse error: syntax error, unexpected T_WHILE in C:\AppServ\www\alfa\search_function.php on line 10
bir yerde problem var ama çözemedim