lists of commands
Moderator: General Moderators
-
jaymoore_299
- Forum Contributor
- Posts: 128
- Joined: Wed May 11, 2005 6:40 pm
- Contact:
lists of commands
is there a way to have a list of only the sql commands in a file and have them called at will anywhere in a php script?
yes.
then on any page you need the sql commands
Code: Select all
$insertClient = "INSERT INTO clients .......";
$deleteClient = "DELETE ......";
$insertProduct = "INSERT INTO procuct......";Code: Select all
require('sqlCommandsPage.php');