redarrow Posted April 19, 2006 Share Posted April 19, 2006 Advance thank you.I want to be able to let a user send another message to the database update them fields and copy the old info into another filed so that the old info can also be seen.example [code]if (name || email || message ) {query="update id,name,email,message from messages where name='$name' and email='$email'";}$query="insert into oldmessage (id,name,email,message)values('$name','$email','$message')";[/code]no session involved So if a user posts a new message the database gets updated to message, and the oldmessage gets inserted to oldmessage.Am i nearly there. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.