PDA

View Full Version : ASP to PHP


imagic234
02-21-2007, 04:31 PM
I am trying to create a quiz application in PHP,but I have a piece of code to deal with.In ASP the code to use is this

Request("index")+1;

What is the equivalent for PHP?
Thanks.

davidj
02-21-2007, 05:12 PM
$_POST['index']+1;

imagic234
02-21-2007, 09:03 PM
Thank you for your reply.
I tried that out and I got this error

Parse error: parse error, unexpected '+', expecting ',' or ')'

Any suggestions please?

davidj
02-22-2007, 05:54 AM
ok what are you trying to do

also post ya code