epic!
it works
thanks alot!!
really appreciate it!
User Profile
Collapse
-
This is that block of code:
[HTML]$FOOTER = "
</div>
</div>
</div>
<div id='footer'>
<div id='width'>
<span class='floatLef t'>
{SITEDISCLAIMER }
</span>
<span class='floatRig ht'>
Sponsors: <img src='".THEME."i mages/logo1.gif' />
</span>
</div>...Leave a comment:
-
i just get the following error when i put that code in:
"Parse error: parse error, unexpected T_STRING in..."
The code in dreamweaver also doesnt look right? like it goes all orange and stuff, not the usual red and black im used to for php code.
so must be another way of writing that code...?
Thanks for trying though, any other suggestions?
ps. i maybe also forgot to add...Leave a comment:
-
Linking image to URL using PHP
hi,
this is my current php code which displays an image.
[HTML]<span class='floatRig ht'>
Sponsors: <img src='".THEME."i mages/logo1.gif' />
</span>[/HTML]
Now i want that displayed image to link to a certain external URL.
How would i do this? -
-
brucehere started a topic PHP echo function within an img tag, whichis within another echo tag! hehein PHPPHP echo function within an img tag, whichis within another echo tag! hehe
hi all.
sounds like a complicated one, but i am using e107, so alot of the php code has been written out, but im looking into just putting a straight:[code=php]
<?php echo(rand(1,5)) ; ?>[/code]
into this code (i put a "ENTER HERE CODE" for where it must go:
[code=php]
<?php
$HEADER = "
<!-- CONTENT: Holds all site content except for the footer. This is what causes...
No activity results to display
Show More
Leave a comment: