Freelance Projects

All freelance projects at One Location


Php Evaluate Text  06.09.08

I need php function to evaluate the php code block in a line of text, if there are any.

Here’s what I have to start with:

echo $tmpHTML;

The $tmpHTML sometimes has just plain text in it. But sometimes it will have a php code block in it too… such as

This is a line of <? echo “text”; ?> with a code block.

I need some function to wrap the $tmpHTML in so that if

$tmpHTML = ‘This is a line of <? echo “text”; ?> with a code block.’

Then
echo $tmpHTML
will spit out:
This is a line of text with a code block.

The stuff inside the code block will always be different.

Since this is a featured project, I am able to get creative with the rules… here they are:

I will give $50 to the first person who posts a comment to this project which includes the working function. Check my feedback to see that I’m trustworthy… if you’re the first person who posts the working function, I’ll have you post your $50 bid and I’ll accept it and send you the money.

I need this quickly!

Thanks!



If you liked this project, make sure you
Subscribe to Freelance Projects RSS feed!



    • Your Ads Here
    • Your Ads Here