hi everyone!

I'm new to PHP.

I don't know why I can't make this page work.
it doesn't show my search result.

Any help would be appreciated.
This script is driving me nuts! :-)

Thanks!

<?php
  $connect = mysql_connect("localhost","user_name","password");
  $select_data = mysql_select_db("ardani_cd_collection");
  $query = "SELECT * FROM main where description = '$song_title'";
  $result = mysql_query($query);

  while($row = mysql_fetch_row($result))
  {echo "<table
border='1'>","<TR>","<TD>",$row[1],"</TD>","<TD>",$row[2],"</TD>","<TD>",$ro
w[3],"</TD>","<TD>",$row[4],"</TD>","<TD>",$row[5],"</TD>","</TR>","</table>
";}
?>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to