Great script by the way!
I've got the first 2 scripts working (inserting) and am working on the listing script, but I keep getting this error:
Parse error: parse error, expecting `T_VARIABLE' or `'$'' in /home/alkatraz/www/nwnstore/clubcard/restricted/lister.php on line 149
line 149 = <? $1year=mysql_result($resultall,$x,"1year"); ?>
hmm i'm just thinking.. could it be that this field is empty in the Database and its causing this error?
Is there code that takes a null value and put's NA or something?
nevermind, that has a value in the database
that can't be it
u're getting this error.. because
$1year is an invalid variable name.. try removing the 1 and calling ur variable $year and that should work...
awesome that worked!
Thx!
Log in to post a comment.
Great script by the way!
I've got the first 2 scripts working (inserting) and am working on the listing script, but I keep getting this error:
Parse error: parse error, expecting `T_VARIABLE' or `'$'' in /home/alkatraz/www/nwnstore/clubcard/restricted/lister.php on line 149
line 149 = <? $1year=mysql_result($resultall,$x,"1year"); ?>
hmm i'm just thinking.. could it be that this field is empty in the Database and its causing this error?
Is there code that takes a null value and put's NA or something?
nevermind, that has a value in the database
that can't be it
u're getting this error.. because
$1year is an invalid variable name.. try removing the 1 and calling ur variable $year and that should work...
awesome that worked!
Thx!