The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
PHP help
I have a form that once a user hits submit enters the data into the database.
To do this I am passing all the variables through the URL to another PHP script and having PHP grab them and insert them. Problem is the text area box is huge and cannot pass paragraphs upon paragraphs of data. How can I insert this into the database? THanks |
#2
|
||||
|
||||
why don't you pass the values with the $_POST variable?
you instruct the forum to post and then fetch the vars in the other script with $_POST['varname'] |
#3
|
|||
|
|||
How do I do that? Searched the PHP site and only tutorial I found was saying
$variable = $_POST["variable_passed"]; That is still passing them through the URL address which is not long enough for my huge text box. |
#4
|
||||
|
||||
No, you just make the form point to the other script, and then in the other script you'll have the $_POST['inputname'] variables available.
They aren't being transferred in the URL. Here is the quote from php.net (http://www.php.net/manual/en/reserve...variables.post): Quote:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|