Code Comments
Programming Forum and web based access to our favorite programming groups.Hi, im writing my first proper PHP site for ordering services online. The problem I'm finding is that I am ending up with loads of different files.... indeed many for each table I want to administer. Among other things, I have a tables of packages, add-ons, payment methods etc. For example, the packages require lots of individual files for admin purposes (add/delete/edit): form_edit_packages.php // form for listing all packages, user clicks package description to edit form_edit_package.php // form for editing a package insert_package.php // sql script for inserting new packages. called on submit on form_edit_package delete_package.php // sql script for deleting packages. called on submit from form_edit_packages update_package.php // sql script for updating packages. called on submit from form_edit_package, if 'editing' Is there a better way to go about this? As you can see I need to create the above files for each table in that database.. Thanks in advance, is very much appreciated. Chris
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.