ql = "INSERT INTO testTable values ('', '$testField')";
> >
> > //execute the SQL statement
> > $result = mysql_query($sql, $conn) or die(mysql_error());
> >
> > //echo the result identifier
> > echo $result;
> > ?>
> &g
On 26-Mar-2003 BRYANT, LANCE wrote:
> Here is a copy of the php script that I'm using. I can create tables and
> query info just not add data to the database.
>
>
>
> //open the connection
> $conn = mysql_connect("onyx","doghead","dogleg");
>
> // pick the database to use
> mysql_select_db("
t;;
>
> //execute the SQL statement
> $result = mysql_query($sql, $conn) or die(mysql_error());
>
> //echo the result identifier
> echo $result;
> ?>
> -----Original Message-
> From: Don Read [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 26, 2003 2:11 PM
>
Data entered in PHP not appearing in mySQL
On 26-Mar-2003 BRYANT, LANCE wrote:
> When I enter data into my web page and active my PHP script. The page
> tells me that the data has been updated to my database, but when I check
> the database no data is entered. A row is created but no dat
On 26-Mar-2003 BRYANT, LANCE wrote:
> When I enter data into my web page and active my PHP script. The page
> tells me that the data has been updated to my database, but when I check
> the database no data is entered. A row is created but no data is
> entered. Can any help?
I can't see yer co