width& height

width& height

am 30.03.2007 13:31:52 von elk dolk

--0-438266413-1175254312=:68701
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

it might be a stupid question but I think it would be the last one!
I am trying to define the height and width of picture in the following line:

""; ?>



 
 


 




I have this error:
PHP Parse error: syntax error, unexpected T_LNUMBER, expecting ',' or ';' in C:\Inetpub\wwwroot\album\2dimArray2.php on line 44

please comment!

---------------------------------
Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo! Games.
--0-438266413-1175254312=:68701--

RE: width& height

am 30.03.2007 15:09:41 von Bastien Koert

you need to escape double quotes in an echo if you use double quotes as the
wrapper.

bastien


>From: elk dolk
>To: "php-db@lists.php.net"
>Subject: [PHP-DB] width& height
>Date: Fri, 30 Mar 2007 04:31:52 -0700 (PDT)
>
>it might be a stupid question but I think it would be the last one!
>I am trying to define the height and width of picture in the following
>line:
>
>" > >"; ?>
>
>
>
>  
>  
>
>
>

 


>


>
>I have this error:
>PHP Parse error: syntax error, unexpected T_LNUMBER, expecting ',' or ';'
>in C:\Inetpub\wwwroot\album\2dimArray2.php on line 44
>
>please comment!
>
>---------------------------------
>Bored stiff? Loosen up...
>Download and play hundreds of games for free on Yahoo! Games.

____________________________________________________________ _____
Your Space. Your Friends. Your Stories. Share your world with Windows Live
Spaces. http://spaces.live.com/?mkt=en-ca

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

RE: width& height

am 31.03.2007 18:40:53 von Xuepeng Li

height="70" border='0' / >"; ?>

Should be:

echo "";
?>

Or

echo " height='70' border='0' / >";
?>

Or

echo ' height="70" border="0" / >';
?>

And the third one is the best.



-----Original Message-----
From: elk dolk [mailto:elkdolk@yahoo.com]
Sent: Friday, March 30, 2007 7:32 PM
To: php-db@lists.php.net
Subject: [PHP-DB] width& height

it might be a stupid question but I think it would be the last one!
I am trying to define the height and width of picture in the following line:

" >"; ?>



 
 


 




I have this error:
PHP Parse error: syntax error, unexpected T_LNUMBER, expecting ',' or ';' in
C:\Inetpub\wwwroot\album\2dimArray2.php on line 44

please comment!

---------------------------------
Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo! Games.

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: width& height

am 31.03.2007 19:25:31 von Jean-Marc Guillermin

Try this one :






border="0" / >


Or :






height="70" border="0" / >



the second if your php.ini don't allow short tag usage.

jm



----- Original Message -----
From: "Xuepeng Li"
To: "'elk dolk'" ;
Sent: Saturday, March 31, 2007 6:40 PM
Subject: RE: [PHP-DB] width& height


> > height="70" border='0' / >"; ?>
>
> Should be:
>
> > echo "";
> ?>
>
> Or
>
> > echo " > height='70' border='0' / >";
> ?>
>
> Or
>
> > echo ' > height="70" border="0" / >';
> ?>
>
> And the third one is the best.
>
>
>
> -----Original Message-----
> From: elk dolk [mailto:elkdolk@yahoo.com]
> Sent: Friday, March 30, 2007 7:32 PM
> To: php-db@lists.php.net
> Subject: [PHP-DB] width& height
>
> it might be a stupid question but I think it would be the last one!
> I am trying to define the height and width of picture in the following
> line:
>
> " >>"; ?>
>
>
>
>  
>  
>
>
>

 


>


>
> I have this error:
> PHP Parse error: syntax error, unexpected T_LNUMBER, expecting ',' or ';'
> in
> C:\Inetpub\wwwroot\album\2dimArray2.php on line 44
>
> please comment!
>
> ---------------------------------
> Bored stiff? Loosen up...
> Download and play hundreds of games for free on Yahoo! Games.
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php