Jump to content

simple variable echo issue


aebstract

Recommended Posts

<?php
echo "<img src=\"images/$pageT.jpg\" />";
?>

 

I have a variable "$page" set at the top of my file, need to put it in to this url with a capital T following the variable, just like the example shows. Right now it takes the "$pageT" right out of the link. Forgot how to do this :(

Link to comment
https://forums.phpfreaks.com/topic/131528-simple-variable-echo-issue/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.