Quote script SQL help

Can someone please come up with a working SQL import for this really usefull quote script.


I have the database setup just don’t really know how to place the tables and the functions.


What do you mean by SQL import? You don’t need a database to do that particular page…

twenny-five hunnert dollars for a tuna samwidge? you gotta be kidding me

if you have the database setup, could you share that with us?

Well i thought you did? You know you can just run an SQL Query to make the tables ect…

There is just a clean database with no tables. - PHP My Admin

yes, that’s right :slight_smile:

what was your question again please?

cool, can you make the database for it then send it to me so i can just import it into mine please or if you know how make the sql command?


i am not going to make a database for you because you should do that yourself

i can help you with it, though


Thanks, i just don’t know what “function” i should use, i have the tables done, vacher?

vacher? :confused:

please show your tables

My print screen button has stopped working on my keyboard, but what i have is the table name “price”

Under that i have “priceName” & “priceAmnt” but i don’t know what to put for the functions box i have the value

Field Type function null value
priceName varchar(11) ? n/a sandwich
priceAmnt varchar(11) ? n/a 35

If you’re asking how to create your database tables in PHP then I suggest you go to MySQL.com and learn how to create tables, then to PHP.net and read the [URL=“http://php.net/manual/en/book.mysql.php”]MySQL manual.

All you are actually doing is running the MySQL commands to create the table. This will be done in PHP by writing a query. You will want something like this:


mysql_connect('localhost', 'username', 'password') or die(mysql_error());
mysql_select_db('database_name') or die(mysql_error()); 
mysql_query('CREATE TABLE vegetable (id INT, name VARCHAR(30))");


Thank You, i can create tables just getting that function value right is the problem.

Could you please have ago at installing it and see how you do?