![]() |
Php question - simple shit...
i need to insert an image into this page, and I know little about php
why when I put this in <img src='images/CategoriesBox/header.jpg' width='150' height='15' border='0'> does it give me a Parse error: parse error, unexpected '<' error? how can I write that in php so the image shows up? |
Don't you need another " ' " before your last " ?
|
Nevermind, I may be wrong on that.
What script are you trying to play with? |
Quote:
the code works fine outside the <?php tag, but within it parsese it wrong |
Quote:
|
Paste more of the code... I think it's carry over from the line above.
echo "<img src='images/CategoriesBox/header.jpg' width='150' height='15' border='0'>"; Should work just fine. |
Quote:
Paste the whole php tag |
Code:
<!-- categories //--> |
Quote:
Dude I am all over that shit, hit me up 346940591 |
|
Use:
Code:
<!-- categories //--> |
Quote:
|
Quote:
i have done oscommerce before, but just never played with graphical headers for the infobox....i am gunna make this design so dope...LOL wish I could show you all, but it is kind of secret right now |
Quote:
|
Damn... wow.... I'm just gonna keep my mouth shut.. ;)
|
Quote:
I would guess that it would be better practice to just put the image in before the PHP tag, but unless you talking about millions of hits I doubt it would make a difference. |
Quote:
|
Quote:
i am a graphics guy who happens to know extensive html and basic coding :) i hire people to do my work! haha |
All times are GMT -7. The time now is 01:57 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123