View Single Post
Old 10-16-2008, 03:05 PM   #2 (permalink)
Wildhoney
La Vida es Sueño
Advanced Programmer Top Contributor 
 
Wildhoney's Avatar
 
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
Wildhoney is on a distinguished road
Default

For the escaping of characters which conflict with MySQL, take a peak at the following two functions on PHP.net. They will help you very much in preventing those pesky errors:

As for the problem of reposting POST data, take a look at the following example I have created for you. This, I hope, explains it better than any number of words could! Please do ask any questions though if you're unsure.
Attached Files
File Type: php Post-Refresh.php (576 Bytes, 155 views)
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
Send a message via AIM to Wildhoney Send a message via MSN to Wildhoney Send a message via Yahoo to Wildhoney
Wildhoney is offline  
Reply With Quote