note 64051 deleted from function.echo by bjori

From: Date: Thu, 06 Apr 2006 16:40:34 +0000
Subject: note 64051 deleted from function.echo by bjori
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-107455@lists.php.net to get a copy of this message
Note Submitter: ralvarado at 507magazine dot com Reason: in docs ---- Hello, just a note to tell that an echo or print won't echo a php. I have a mysql db with a text field filled with php scripts. some of these scripts also print some information. Example of script inside db: <font color=red>Today is: <? echo date('Y-m-d'); ?></font> Now I have a script that calls that cell inside the mysql and prints it. For example: <? function printme ($var) { ... you can call your db and get the values from it. ... //print output echo $mysqlresult. } ?> And the result was: Today is: The echo from the function didn't managed to handle the 'echo' inside the mysql row. I tried with print also and with the abbreviated version of echo and none worked.

« previous php.notes (#107455) next »