[PHP] Why can't this code display my result?

2001-08-09 Thread Ardani Sarjito
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 =

Re: [PHP] Why can't this code display my result?

2001-08-09 Thread David Robley
On Fri, 11 Feb 2000 09:36, Ardani Sarjito wrote: 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 =

Re: [PHP] Why can't this code display my result?

2001-08-09 Thread John Meyer
Could you please give us some error messages, please? ?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 =