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
Thanks a lot for your help Sheridan,
This now appears to work ok :) but if I remove the:
print "\"$text\"";
line (as it is not required), I receive errors complaining about a syntax
error (related to what?) and that 'text' is undefined. As this line simply
outputs the value to screen why should
The thing to ALWAYS remember when working with both PHP and
JavaScript is that PHP is Server-Side and JavaScript is Client-Side.
What this mean is practical terms is that when going from JavaScript
to PHP you have to submit or redirect back to the server... and when
going from PHP to JavaScript (
--
while you are looping through the date jump in and out of php like this to
populate the javascript array
7 matches
Mail list logo