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
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 "
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
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
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
5 matches
Mail list logo