printf()
Posted: Wed Jul 20, 2011 10:22 am
I have this code that displays properly:
Now, I need to turn the code between in <span> in to a variable with a variable.
How do I code for the second variable in printf() when?:
$dclaim = <span style=\"background-color:yellow\">Expires' . $expdat . '.</span>
Edit/Delete Message
Code: Select all
printf("<p style=\"font-size:9px;margin:0px;\"> <span style=\"background-color:yellow\">Expires %s. </span></p>",$expdat); How do I code for the second variable in printf() when?:
$dclaim = <span style=\"background-color:yellow\">Expires' . $expdat . '.</span>
Edit/Delete Message