$row = mysql_fetch_row ($client_id_res) or return;
From: skarthi (ads_at_asd.com)
Date: 10/28/04
- Next message: Michael Fesser: "Re: How to make string of numbers shorter?"
- Previous message: Krakatioison: "Re: How to make string of numbers shorter?"
- Next in thread: Oli Filth: "Re: $row = mysql_fetch_row ($client_id_res) or return;"
- Reply: Oli Filth: "Re: $row = mysql_fetch_row ($client_id_res) or return;"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 27 Oct 2004 18:45:45 -0400
why does this not work ?
$row = mysql_fetch_row ($client_id_res) or return 1;
$row = mysql_fetch_row ($client_id_res) or return 0;
gives an error like this!
Parse error: syntax error, unexpected T_RETURN in C:\temp\tool.php on line
267
can some one explain / point me to the right documentation
karthik
- Next message: Michael Fesser: "Re: How to make string of numbers shorter?"
- Previous message: Krakatioison: "Re: How to make string of numbers shorter?"
- Next in thread: Oli Filth: "Re: $row = mysql_fetch_row ($client_id_res) or return;"
- Reply: Oli Filth: "Re: $row = mysql_fetch_row ($client_id_res) or return;"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]