[PHP] PHP and MySQL

2002-05-17 Thread City Colleges of Chicago - Mannheim
I just wanted to thank everyone for helping me with the script for my school project. But, of course I must esp. thank JODY, (the man!!). Go ahead Jody, eat up the glory! :) Renee Here is part of the script in its final form if anyone is interested: "; }

[PHP] PHP and MySQL

2002-05-16 Thread City Colleges of Chicago - Mannheim
My program is no longer giving a parse error, but my database is not being updated (as far as the stock numbers are concerned). Any ideas??? I made the changes below per a few people on the list: Quantity of books: 1 2 3 4 5 6 7 8 9 10 The book you are ordering: Additional Mes

[PHP] PHP and mySQL

2002-05-14 Thread City Colleges of Chicago - Mannheim
I am getting a parse error on line 75. I am trying to say: if there is a booktitle and a quantity chosen, then go to that booktitle and adjust the quantity in the database. Thanks! Renee "; } ?>

[PHP] PHP and mySQL

2002-05-13 Thread City Colleges of Chicago - Mannheim
I am a student working on a practicum problem. I have a mySQL database that contains the books, their title, and how many are in stock. When a person orders one of the books, I want the stock to be adjusted by how many, quantity, that they chose when the submit button is clicked. The scripts are

[PHP] New to PHP and mySQL

2002-05-10 Thread City Colleges of Chicago - Mannheim
Hi, I am new to PHP and mySQL.  I am trying to write a script that enables a user to order a book through an emailform, and then the quantity for that book is adjusted in the mySQL database.  I have attached my file to show what I have so far.  I believe I am making a simple mistake.  Can an