The new forums will be named Coin Return (based on the most recent vote)! You can check on the status and timeline of the transition to the new forums here.
The Guiding Principles and New Rules document is now in effect.
<?= ... > is a short tag that will be interpreted as <?php echo ... > But short_open_tag must be enabled in php.ini. It's generally good practice to always write out your opening php tags instead of using the short open tag. It allows for maximum compatibility in case a server has short_open_tag turned off.
Resonant on
0
Seguerof the VoidSydney, AustraliaRegistered Userregular
<?= ... > is a short tag that will be interpreted as <?php echo ... > But short_open_tag must be enabled in php.ini. It's generally good practice to always write out your opening php tags instead of using the short open tag. It allows for maximum compatibility in case a server has short_open_tag turned off.
Posts
<a href="random.php?throwvalue=<?=$Variablename1>">
Should work.
Fixed that for you.
OP: You should probably come up with some sort of standard for variable names (eg camelCase).
NINJA EDIT: You might want to take a look at url encode, depending on what the values of the variables are.
Technically, the following will work just fine:
<?= ... > is a short tag that will be interpreted as <?php echo ... > But short_open_tag must be enabled in php.ini. It's generally good practice to always write out your opening php tags instead of using the short open tag. It allows for maximum compatibility in case a server has short_open_tag turned off.