Hi all. Many thenks for all the help and suggestions but the problem was at the providers end. There system allowed me to connect but not to update. Solved now but what a bummer.
Btw the coding as I wrote works.
Thanks again. Mike
Thanks for the reply. I'm using MySql.
Here's the complete module.
<?php
include("sales_includes/db.inc.php");
include("sales_includes/misc.inc");
$connection = mysql_connect($host,$user,$password)
or die ("No connection");
$db = mysql_select_db($database,$connection)...
Just created a db with no problems but I cant insert any data. This code is not inserting into my db and I cannot find the reason.
No errors messages are received. The connect info, password, name, etc., is all correct.
I have tried other syntax versions but to no avail.
$sql = "
INSERT INTO...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.