Hi,
I’m busy with a script that creates an html page with a number of links to the same script, a link looks like this:
<a href="consult_exp.pl?add=show&exp_nr=12"><b>12</b></a>
What I don’t understand is that the variables ‘add’ and ‘exp_nr’ are not available in the script. I checked it by trying to print them in the browser which confirmed this as they didn’t show any value.
Reading the variables works fine when using Post but in this case I have to send the variables in the way shown above.
Somebody can tell me what I’m doing wrong?
Jett
Oh, a short one. How to increment the value of a variable with 1.
$var=$var++;
or $var=$var+1;
both don’t work?
[sig][/sig]
I’m busy with a script that creates an html page with a number of links to the same script, a link looks like this:
<a href="consult_exp.pl?add=show&exp_nr=12"><b>12</b></a>
What I don’t understand is that the variables ‘add’ and ‘exp_nr’ are not available in the script. I checked it by trying to print them in the browser which confirmed this as they didn’t show any value.
Reading the variables works fine when using Post but in this case I have to send the variables in the way shown above.
Somebody can tell me what I’m doing wrong?
Jett
Oh, a short one. How to increment the value of a variable with 1.
$var=$var++;
or $var=$var+1;
both don’t work?
[sig][/sig]