FatCow Web Hosting
 
Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read Web Directory

Go Back   Webmaster Forum > Designing and Developing Websites > Programming > PHP / MySQL

PHP / MySQL Discussions and help on PHP and MySQL.

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 06-12-2008, 09:51 PM
brandono brandono is offline
WMG Newcomer
 
Join Date: May 2008
Posts: 43
iTrader: (0)
brandono is on a distinguished road
Default Php Refresh problem?

I am creating an open source wiki that uses forms to submit data to the tables and to change images and whatnot.

Here is the problem ... when someone enters a record everything works great but if you hit refresh after entering the record it puts it in a second time and again for every refresh after.

Any thoughts?

This is only a problem because I like to have the forms and the table in the same php file to reduce the number of files making up the site.
__________________
http://www.mofiki.com - Macro's and other Automation Software
Reply With Quote
Sponsored Links
Register and sign in to hide this ad block

  #2 (permalink)  
Old 06-14-2008, 10:30 PM
chrishirst's Avatar
chrishirst chrishirst is offline
WMG Sheriff
 
Join Date: Nov 2007
Posts: 170
iTrader: (0)
chrishirst is on a distinguished road
Default

Check for the record existing before inserting it
__________________
And how can we win, when fools can be kings
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

All times are GMT. The time now is 06:33 AM.



Freelance Web Designers
Work At Home Forum
Ad Marketplace
Online Deals and Bargains
HostGator Reseller Hosting Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0