NextGenForum.net Posted December 18, 2007 Share Posted December 18, 2007 Hi, I have createdf a page on dreamweaver mx 2004 that enables me to use a form to insert data into a database, the problem i have is when i click submit i get 8 of the same recordd being inserted, does anyvody know why this might be?? Thanks Link to comment https://forums.phpfreaks.com/topic/82222-solved-insert-record-problems/ Share on other sites More sharing options...
The Little Guy Posted December 18, 2007 Share Posted December 18, 2007 Code Please Link to comment https://forums.phpfreaks.com/topic/82222-solved-insert-record-problems/#findComment-417840 Share on other sites More sharing options...
NextGenForum.net Posted December 18, 2007 Author Share Posted December 18, 2007 sorry <form action="<?php echo $editFormAction; ?>" name="form1" method="POST"> <p> <strong>Company Name:</strong> <input name="name" type="text" id="name"> </p> <p><strong>Logo:</strong> <input name="logo" type="text" id="logo"> </p> <p><strong>Phone:</strong> <input name="phone" type="text" id="phone"> </p> <p><strong>Email: </strong> <input name="email" type="text" id="email"> </p> <p><strong>Description -</strong> Short one for category page: <textarea name="description" id="description"></textarea> </p> <p><strong>Long Description - </strong>Description for company page: <textarea name="longdescription" id="longdescription"></textarea> </p> <p><strong>E-Case - </strong>Short one for category page: <textarea name="ecase" id="ecase"></textarea> </p> <p><strong>Long E-Case</strong> - E-Case for company page: <textarea name="longecase" id="longecase"></textarea> <input type="hidden" name="MM_insert" value="form1"> </p> <p> <input type="submit" name="Submit" value="Submit"> </p> </form> Link to comment https://forums.phpfreaks.com/topic/82222-solved-insert-record-problems/#findComment-417843 Share on other sites More sharing options...
lemmin Posted December 18, 2007 Share Posted December 18, 2007 The code we would need to see would be on your $ediFormAction file. Link to comment https://forums.phpfreaks.com/topic/82222-solved-insert-record-problems/#findComment-417846 Share on other sites More sharing options...
NextGenForum.net Posted December 18, 2007 Author Share Posted December 18, 2007 Its fine ive sorted it Thanks Link to comment https://forums.phpfreaks.com/topic/82222-solved-insert-record-problems/#findComment-417847 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.