PHP halp!
Posted: Tue Dec 02, 2008 7:54 am
Hello Everyone,
I have just found the forums and of course, just registered. So a big hello to everyone in this community and I hope that I can be of some help to people and in turn be helped out.
To kick things off I have a php question no less. I have been developing web forms for my company, forms that collect and submit data to a sql database. All that is fine, what I am looking to do is, create echo messages that would display when the form was submitted. However I want these messages to be displayed where I tell them to be, whether it be in a table cell or at the bottom of the page or whever. How can I make a message be displayed on submission of a form?
I have also developed PHP scripts that allow updating of previously submitted data, these too would require an echo message to be displayed in a specfic place to say that the entry had been amended etc etc.
At the moment I am using echo commands after the script has run using IF statements, however this means that the echo message always gets shoved at the top of the page.
Any advise on this?
I have just found the forums and of course, just registered. So a big hello to everyone in this community and I hope that I can be of some help to people and in turn be helped out.
To kick things off I have a php question no less. I have been developing web forms for my company, forms that collect and submit data to a sql database. All that is fine, what I am looking to do is, create echo messages that would display when the form was submitted. However I want these messages to be displayed where I tell them to be, whether it be in a table cell or at the bottom of the page or whever. How can I make a message be displayed on submission of a form?
I have also developed PHP scripts that allow updating of previously submitted data, these too would require an echo message to be displayed in a specfic place to say that the entry had been amended etc etc.
At the moment I am using echo commands after the script has run using IF statements, however this means that the echo message always gets shoved at the top of the page.
Any advise on this?