Re: [PHP] Inserting data at runtime (php,mysql)

2006-03-21 Thread Thorsten Suckow-Homberg
The connection is successful but the data are not getting inserted into the table. I need to insert all the words into the table. When I change the insert statement with one insert at a time, I can insert values to the database. For exampel: $qure = "INSERT INTO dict VALUES (1,'apple')"; Do

[PHP] Inserting data at runtime (php,mysql)

2006-03-21 Thread sathyashrayan
I have given a task to create a site which is a clone of www.onelook.com. As a first stage I have downloaded a list of English words (only words not meaning) in a text format. I have created a data structure in the mysql database. And wrote the following code to insert data into the table at

Re: [PHP] Inserting data at runtime (php,mysql)

2006-03-21 Thread sathyashrayan
- Original Message - From: "Dan Parry" <[EMAIL PROTECTED]> To: "'sathyashrayan'" <[EMAIL PROTECTED]>; Sent: Tuesday, March 21, 2006 6:19 PM Subject: RE: [PHP] Inserting data at runtime (php,mysql) conn denotes a constant where the value yo

RE: [PHP] Inserting data at runtime (php,mysql)

2006-03-21 Thread Dan Parry
P] Inserting data at runtime (php,mysql) - Original Message - From: "Dan Parry" <[EMAIL PROTECTED]> To: "'sathyashrayan'" <[EMAIL PROTECTED]>; Sent: Tuesday, March 21, 2006 6:12 PM Subject: RE: [PHP] Inserting data at runtime (php,mysql) >

Re: [PHP] Inserting data at runtime (php,mysql)

2006-03-21 Thread Robin Vickery
On 21/03/06, sathyashrayan <[EMAIL PROTECTED]> wrote: > > - Original Message - > From: "Dan Parry" <[EMAIL PROTECTED]> > To: "'sathyashrayan'" <[EMAIL PROTECTED]>; > Sent: Tuesday, March 21, 2006 6:12 PM > Subject: RE: [P

Re: [PHP] Inserting data at runtime (php,mysql)

2006-03-21 Thread sathyashrayan
Yes it is a error.Thanks. - Original Message - From: Dave Goodchild To: sathyashrayan Sent: Tuesday, March 21, 2006 6:16 PM Subject: Re: [PHP] Inserting data at runtime (php,mysql) Yes, but it should be $conn, not conn. There is no $ in front of the variable name

Re: [PHP] Inserting data at runtime (php,mysql)

2006-03-21 Thread sathyashrayan
- Original Message - From: "Dan Parry" <[EMAIL PROTECTED]> To: "'sathyashrayan'" <[EMAIL PROTECTED]>; Sent: Tuesday, March 21, 2006 6:12 PM Subject: RE: [PHP] Inserting data at runtime (php,mysql) [snip] $conn=mysql_connect(&quo

Re: [PHP] Inserting data at runtime (php,mysql)

2006-03-21 Thread sathyashrayan
- Original Message - From: "Thorsten Suckow-Homberg" <[EMAIL PROTECTED]> To: "sathyashrayan" <[EMAIL PROTECTED]> Cc: Sent: Tuesday, March 21, 2006 6:00 PM Subject: Re: [PHP] Inserting data at runtime (php,mysql) The connection is successful but t

RE: [PHP] Inserting data at runtime (php,mysql)

2006-03-21 Thread Dan Parry
ua Webtech Ltd http://www.virtuawebtech.co.uk -Original Message- From: sathyashrayan [mailto:[EMAIL PROTECTED] Sent: 21 March 2006 12:20 To: php-general@lists.php.net Subject: [PHP] Inserting data at runtime (php,mysql) I have given a task to create a site which is a clone of www.onelook.com. As a first stage