![]() |
Form to PHP Behavior
I think I must be doing something wrong, but essentially, here goes: I'm using a simple HTML form to define a variable $userid, and then use the PHP script to take that userid and to do stuff with the user account corresponding to that userid.
For some reason, though, the number that I input on the HTML form gets translated to some other, totally different number. Is there some sort of integer function that I have to perform on a string to prevent it from being corrupted like that? Thanks, Kaelon |
Answering my own question...
Apparently, use of $userid returns a non-standard value. It's not a standard variable; everything worked fine when I renamed $userid to something like $usernum. |
All times are GMT. The time now is 11:17 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|