Re: [PHP] php's variables & javascript

2002-05-28 Thread Miguel Cruz
On Tue, 28 May 2002, burak delice wrote: > I want to make a php that include javascript that use a php variable. Code > is below: > > $size = GetImageSize ("images/$resim"); > echo " > wdth=";$size;echo";"; > echo ""; > ?> > > (I am calling that php file as below) > http://localhost/Aksu/we

Re: [PHP] php's variables & javascript

2002-05-27 Thread Brad McCrorey
Or something easier... width = $size; HTML; ?> Just make sure the "HTML;" bit is all the way on the left margin, regardless of tabstops in your code. cheers, Brad Boyan Nedkov wrote: >Try something like that: > >//$size = GetImageSize ("images/$resim"); >$size = 222; >echo ""; > echo "

RE: [PHP] php's variables & javascript

2002-05-27 Thread Boyan Nedkov
Try something like that: "; echo "width="; echo $size; echo ";"; echo ""; ?> Cheers, boyan -- Boyan Nedkov [EMAIL PROTECTED] > -Original Message- > From: burak delice [mailto:[EMAIL PROTECTED]] > Sent: Monday, May 27, 2002 11:59 PM > To: [EMAIL PROTECTED] > Subject: [PHP] php's

Re: [PHP] php's variables & javascript

2002-05-27 Thread Jason Wong
On Tuesday 28 May 2002 05:59, burak delice wrote: > I want to make a php that include javascript that use a php variable. Code > is below: No need to post twice. > $size = GetImageSize ("images/$resim"); > echo " > wdth=";$size;echo";"; > echo ""; > ?> That code looks broken to me. > (I a

Re: [PHP] php's variables & javascript

2002-05-27 Thread Sagie Maoz
burak delice wrote: >hi everyone, > >I want to make a php that include javascript that use a php variable. Code >is below: > >$size = GetImageSize ("images/$resim"); >echo " > wdth=";$size;echo";"; > echo ""; >?> > > I didn't get the third line.. That's no JavaScript.. Isn't this supposed to