Drewdle Posted January 13, 2011 Share Posted January 13, 2011 I'm teaching myself how to use php and mysql... I created a form to insert data into a mysql database, all went well and when I returned to the form it was blank. I then asked a friend to test it out aswell and when he loaded the form page, the data that entered before him was displayed? (it was still filled out with my info). Even after he refreshed it was still there... Hows this possible? How would I clear the form after its been submitted if it doesnt do it automatically? Thanks Drew Link to comment https://forums.phpfreaks.com/topic/224354-form-data-displayed/ Share on other sites More sharing options...
litebearer Posted January 13, 2011 Share Posted January 13, 2011 It ALWAYS helps if we see your code Link to comment https://forums.phpfreaks.com/topic/224354-form-data-displayed/#findComment-1159061 Share on other sites More sharing options...
Drewdle Posted January 13, 2011 Author Share Posted January 13, 2011 Its alright, I added default values to the form so it replaces whatever I wrote when it loads. Thanks anyway. Link to comment https://forums.phpfreaks.com/topic/224354-form-data-displayed/#findComment-1159063 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.