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
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
-
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
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
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
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
--
while you are looping through the date jump in and out of php like this to
populate the javascript array
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
8 matches
Mail list logo