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; }?> Link to comment https://forums.phpfreaks.com/topic/92515-unexpected-t_lnumber/ 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. Link to comment https://forums.phpfreaks.com/topic/92515-unexpected-t_lnumber/#findComment-474031 Share on other sites More sharing options...
BlueSkyIS Posted February 22, 2008 Share Posted February 22, 2008 correct: http://us.php.net/language.variables Link to comment https://forums.phpfreaks.com/topic/92515-unexpected-t_lnumber/#findComment-474067 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.