![]() |
one simple line
in register php,right after:
PHP Code:
PHP Code:
can someone please just tell me that WHERE statement for the new userid? PHP Code:
Thank you. |
I dun have access to see how the userfield table looks like now, but I believe you can obtain the userid of the person who is only just registering by using :
PHP Code:
|
I am looking for the where statement
PHP Code:
|
[sql]WHERE userid = $userid[/sql]try that one, but best would be to add the field10 to $userfieldnames and $userfields before the original query, so it would already get updated there. No need for an extra query then.
PS You should never experiment with coding on a live board. |
Thanks Marco. I got burnt a couple times with experiments. Thank God for backups.
That did not insert anything. Duh, that's exactly what I meant. I was sleeping. That was field15 instead of field10. Field10 is for the weather. I got it set default to Miami. I registered and the weather displayed for Chad Nigeria. hahaha |
Sorry just reread your query.
I think you should be doing this, like Marco mentioned. PHP Code:
|
All times are GMT. The time now is 06:22 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:
|