Have a look at http://www.codingforums.com/showthread.php?t=2090 Para 3.
There was no need to post the whole of your code.
Styling and positioning is done with css.
http://www.w3.org/Style/Examples/007/center.en.html
http://webdesign.about.com/od/beginn...a/aa012207.htm
I do not see how Javascript is relevant to your question.
It is your responsibility to die() if necessary….. - PHP Manual
__________________
All the code given in this post has been tested and is intended to address the question asked.
Unless stated otherwise it is not just a demonstration.
Last edited by Philip M; 11-14-2012 at 01:45 PM..
|