The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Why does the followin code produce a SQL error if there is more than one request variable defined in the url?
PHP Code:
index.php?siteid=3?do=overview The code above functions properly when ONLY siteid is being sent, but once do=overview has been added, I get a SQL error because $tempval is being filled not only with the value of siteid, but "?do=overview" as well. What im trying to do is have the page first look at the siteid so it knows which set of records to pull from the table (currently, I have it coded where an empty $_REQUEST['siteid'] returns all records), then finally look at DO so it knows what action to perform/template to eval. Can someone please point me in the right direction? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|