darkfreaks Posted February 22, 2008 Share Posted February 22, 2008 it says i have one on line 63 would it be because the variables $c and $k are defined after the statement in another if statement ??? Line: <?php elseif(empty($1)){ $query.="SELECT * FROM jobs WHERE category=$c AND keyword=$k ORDER BY job_id DESC"; $search = TRUE; }?> Quote Link to comment Share on other sites More sharing options...
AndyB Posted February 22, 2008 Share Posted February 22, 2008 if empty ... is that dollar ell or dollar one? AFAIK, php variables cannot begin with a number. Quote Link to comment Share on other sites More sharing options...
BlueSkyIS Posted February 22, 2008 Share Posted February 22, 2008 correct: http://us.php.net/language.variables Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.