[PHP] jumping between php and html or using echo for printing html-tags.

2003-02-06 Thread anders thoresson
Which is more efficient: function admin_menu() { echo B Meny /BBR; echo A HREF=\ . $_SERVER['PHP_SELF'] . ?action= . MANAGE_MEMBERS . \Medlemmar/ABR; echo A HREF=\ . $_SERVER['PHP_SELF'] . ?action= . MANAGE_ALBUMS . \Album/ABR; echo A HREF=\ . $_SERVER['PHP_SELF'] . ?action= . INITIAL_PAGE

Re: [PHP] jumping between php and html or using echo for printing html-tags.

2003-02-06 Thread Chris Shiflett
--- anders thoresson [EMAIL PROTECTED] wrote: Which is more efficient: Your first method is more efficient according to my quick test, though I find myself preferring the second when I write code due to the readability advantages. The difference is small, however. Here is the code I used to

Re: [PHP] jumping between php and html or using echo for printing html-tags.

2003-02-06 Thread Chris Shiflett
--- Chris Shiflett [EMAIL PROTECTED] wrote: Your first method is more efficient according to my quick test, though I find myself preferring the second when I write code due to the readability advantages. The results went the other way when I tested this using mod_php rather than the CLI, and

RE: [PHP] jumping between php and html or using echo for printing html-tags.

2003-02-06 Thread Daevid Vincent
] jumping between php and html or using echo for printing html-tags. --- anders thoresson [EMAIL PROTECTED] wrote: Which is more efficient: Your first method is more efficient according to my quick test, though I find myself preferring the second when I write code due to the readability

RE: [PHP] jumping between php and html or using echo for printing html-tags.

2003-02-06 Thread Chris Shiflett
--- Daevid Vincent [EMAIL PROTECTED] wrote: Fatal error: Call to undefined function: floatval() in /home/dae51d/public_html/examples/echotest.php on line 14 Please try to make an effort and do a little research of your own before asking the list: