Hello,
i was just wondering if there is anyway to add a value to a variable in a querystring.
e.g. "www.veiw.php?value=value+5"
So if the variable value was 5 it would equal 10.
Ozma_03
No. At least not in PHP.
You should do this in either the script that builds the link, or the script that recieves the variable.
Thanks for your help but i found another way around it, by adding ".($value+5) ." to the end of link.
e.g. <a href=veiw.php?value=".($value+5) .">
Well, yes; that was superwormy's first suggestion.