For Auto-Increment, the field should be the Primary-Key. You can use it through sql statement or by selecting the "auto_increment" from the "EXTRA" drop-down.
You can also set the starting number...
You did a very silly mistake.
Actually, you wrote the query, but you didn't execute it.
In line nos: 15 and 81, use the function mysql_query() to execute the query.
And this will...
The error is occurs coz, the query doesn't contain anything..
Why not you try $_POST var, instead of $_REQUEST., where u can get all the checked values at a time...
var string = document.getElementById('txt').value;
chars = string.split(' ');
if (chars.length > 1)
alert('Space(s) found in the string.');
else
alert('No...
I have modified your function MM_goToURL(), to pass the grand total value as the query string.
And that value, you will get to the next page.. But be sure, the next page must be the php page (php...
You are trying to get the value of "total" by using the $_GET.
If you are passing the total cost in GET, then there is no need to add an additional '$' sign
against the field name..
try to use...
First of all, the connection was not established, because, you are using the variables
for connecting to the database, but they are not defined.
Therefore it displays the blank page.