Re: [PHP] Creating a javascript array from database data

2001-08-16 Thread Neil Freeman
To: Sheridan Saint-Michel > Cc: php-general > Subject: Re: [PHP] Creating a javascript array from database data > > Thanks a lot for your help Sheridan, > > This now appears to work ok :) but if I remove the: > > print "\&q

Re: [PHP] Creating a javascript array from database data (Off-List)

2001-08-16 Thread Neil Freeman
print "\"$text\"";) is > unnecessary > > Hope this helps > > Sheridan Saint-Michel > Website Administrator > FoxJet, an ITW Company > www.foxjet.com > > - Original Message - > From: Neil Freeman <[EMAIL PROTECTED]> > To: Sheri

RE: [PHP] Creating a javascript array from database data

2001-08-16 Thread Tim Ward
- From: Neil Freeman [SMTP:[EMAIL PROTECTED]] Sent: 15 August 2001 18:10 To: Sheridan Saint-Michel Cc: php-general Subject: Re: [PHP] Creating a javascript array from database data Thanks a lot for your help Sheridan, This now appea

Re: [PHP] Creating a javascript array from database data (Off-List)

2001-08-15 Thread Sheridan Saint-Michel
helps Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com - Original Message ----- From: Neil Freeman <[EMAIL PROTECTED]> To: Sheridan Saint-Michel <[EMAIL PROTECTED]> Cc: php-general <[EMAIL PROTECTED]> Sent: Wednesday, August 15, 2001 12:09 PM

Re: [PHP] Creating a javascript array from database data

2001-08-15 Thread Neil Freeman
se > mysql_fetch_row and use your loop to parse it rather than > making several calls to mysql_result (especially if you are > ever going to have more than a few entries in the DB). > > Sheridan Saint-Michel > Website Administrator > FoxJet, an ITW Company > www.foxjet.co

Re: [PHP] Creating a javascript array from database data

2001-08-15 Thread Sheridan Saint-Michel
ecially if you are ever going to have more than a few entries in the DB). Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com - Original Message - From: Neil Freeman <[EMAIL PROTECTED]> To: PHP General <[EMAIL PROTECTED]> Sent: Wednesday, August 15, 200

RE: [PHP] Creating a javascript array from database data

2001-08-15 Thread Jon Farmer
-- while you are looping through the date jump in and out of php like this to populate the javascript array

[PHP] Creating a javascript array from database data

2001-08-15 Thread Neil Freeman
Hi there, Well after a few hours roaming around various websites I am at a loss. Here is what I am trying to do: 1) Access a MySQL database which contains 1 table 2) Read the records from this table 3) Store the values returned from this table into javascript array elements, ie, if I get the val