View Single Post
  #28  
Old 05-29-2005, 03:56 PM
IcIshoot is offline IcIshoot

Join Date: Mar 2004
Location: Farmington Hills, MI
Posts: 1,473

Send a message via AIM to IcIshoot Send a message via MSN to IcIshoot Send a message via Yahoo to IcIshoot
echo( "Category: " . $row["sc"]
echo( "Site Name: " . $row["LName"]
echo( "URL: " . $row["URL"]


those above lines don't have the ");" at the end.

Also, why are you doing "$rs = @mysql_select_db( "linkdb", $conn ) or die( "err:db" ) ;"?

putting the @ infront of mysql_select_db() (or any other function) suppresses the errors. You could be getting errors in the sql statements and not know it.

You should do some thing like "$rs = mysql_select_db( "linkdb", $conn ) or die( mysql_error() ) ;", that way you will recieve any errors and get an idea as to what you have to do to fix them. Same applies to mysql_connect(), mysql_query(), ect.


IcI
Reply With Quote