![]() |
php/query - moving data
I am trying to copy some the info in some fields in one table to blank fields in another table. Does this code look right to you? It doesnt seem to doing the trick.
Thanks PHP Code:
|
Take a look at the facilities provided by INSERT ... SELECT
|
Did you notice the following typo (extra space)? lol ... I hate making typos like that ... you never notice them until the very last thing ... lol ... like looking everywhere for your keys, only to find them in the last pocket !!! lol
'lastentrydat e' |
Quote:
VALUES ('$x[journalid]','$x[userid]','$x[entries]','$x[views]','$x[enabled]','$x[timestamp]')[/SQL] |
All times are GMT. The time now is 05:58 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:
|