View Full Version : pull a variable from the link
How can i get a link that says *.*.php&f=12 to make $forumid = 12 in the called PHP?
vBulletin does it for you. Take a look in the includes/init.php file. It translates short variable names to long names. In this case $f => $forumid.
It looks like I was using php&f=5 I just relized it should be php?f=5.
Correct?
Yes, that is correct.
I realized what I was doing wrong. I was using a form and didn't have a hidden field called forumid. I was doing the ? the right way.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.