16-12-2006, 13:56
|
|
|
|
חבר מתאריך: 09.12.01
הודעות: 2,337
|
|
השימוש בה די פשוט,
אתה מוצא איכן נמצא קוד ה PHP שלך, ומכניס את הקוד לתוך הפוקנציה.
לדוגמה:
קוד PHP:
<? $string="some html bla bla<br />some more <? #php start here
echo 3+4/2; ?>
my string end here";
# תמצא את המיקום המדוייק של תחילת קוד ה PHP
$my_php_code="<? ... ?>";
eval($my_php_code);
?>
מבין?
_____________________________________
“The man of wisdom is never in two minds about right and wrong;
the man of benevolence never worries about the future;
the man of courage is never afraid.”
~ Confucius
|