The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
Quote:
What's the difference between $_GET and $_REQUEST? |
#12
|
|||
|
|||
$_REQUEST can be used as both $_POST and $_GET
|
#13
|
|||
|
|||
Thanks for the reply
|
#14
|
||||
|
||||
Perhaps you should start by reading about php, these are pretty basic questions covered by any php online manual or book.
|
#15
|
|||
|
|||
Quote:
I just have one more question: If I had a MySQL table called players: Code:
ID - Player 1 - John 2 - Paul 3 - Puyol For example, if someone opened index.php like: index.php?id=1, then I want the $playername to be set to John, and if ?id=2 then to be set to Paul, then if ?id=3 then to be set as Puyol. According to what's on the database. |
#16
|
|||
|
|||
Quote:
start reading about php and mysql or look into the tutorials https://vborg.vbsupport.ru/forumdisplay.php?f=184 |
#17
|
|||
|
|||
Quote:
|
#18
|
||||
|
||||
You would use something like
Code:
SELECT * FROM yourdb WHERE id='" . $_REQUEST['id'] . '' That's not strictly speaking true, $_REQUEST is a combination of both. It's not a case of "can be used" as you don't have a choice. |
#19
|
|||
|
|||
I'm pretty sure you would want to clean the variables before doing something like that.
|
#20
|
|||
|
|||
Quote:
https://vborg.vbsupport.ru/showthread.php?t=119372 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|