May 22, 2002 #1 PhoenixDown Programmer Joined Jul 2, 2001 Messages 279 Location CA Is there any way to do echo print statements without the use of 'echo "something";'? Thanks in advance!
Is there any way to do echo print statements without the use of 'echo "something";'? Thanks in advance!
May 22, 2002 #2 KarveR MIS Joined Dec 14, 1999 Messages 2,065 Location GB depends how you mean, print "something"; ? printf(" lots and lots of things" sprintf("even more stuff" echo " a whole list of stuff "; etc etc ....? puzzled *************************************** Party on, dudes! Upvote 0 Downvote
depends how you mean, print "something"; ? printf(" lots and lots of things" sprintf("even more stuff" echo " a whole list of stuff "; etc etc ....? puzzled *************************************** Party on, dudes!
May 22, 2002 Thread starter #3 PhoenixDown Programmer Joined Jul 2, 2001 Messages 279 Location CA Yeah, I want to print something to a web page, but just HTML. I don't want to add backslashes to quotes. Kind of annoying, IMO. Any suggestions? I'm sorry that my previous post was hard to understand, but now you know what I want to do. Upvote 0 Downvote
Yeah, I want to print something to a web page, but just HTML. I don't want to add backslashes to quotes. Kind of annoying, IMO. Any suggestions? I'm sorry that my previous post was hard to understand, but now you know what I want to do.
May 23, 2002 #4 AnakinPt Programmer Joined Mar 29, 2001 Messages 583 Location PT you can mixup html and php <table> <tr> <? $array=array(1,2,3,4,5); for($i=0;$i<sizeof($array);$i++){?> <td class=text><?=$array[$i]?></td> <?}?> </tr> </table> Anikin Hugo Alexandre Dias Web-Programmer anikin_jedi@hotmail.com Upvote 0 Downvote
you can mixup html and php <table> <tr> <? $array=array(1,2,3,4,5); for($i=0;$i<sizeof($array);$i++){?> <td class=text><?=$array[$i]?></td> <?}?> </tr> </table> Anikin Hugo Alexandre Dias Web-Programmer anikin_jedi@hotmail.com