![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
FBOP Class Of 2013
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
|
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? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Nov 2003
Location: ThatOneProgram.com
Posts: 9,898
|
Don't you need another " ' " before your last " ?
__________________
Want to promote SUCCUBUS? Click HERE!!!! | Want to buy SUCCUBUS? Click HERE!!!! Yeah, yeah, you know, That One Program! | Want to trade links with StompBunny.com? Loryn (3:16 PM): I love it, just as long as we keep the bedroom door closed from all ears then we can have throw down hard core sex that makes us money haha fuck it we can have sex on money never did that before |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Nov 2003
Location: ThatOneProgram.com
Posts: 9,898
|
Nevermind, I may be wrong on that.
What script are you trying to play with?
__________________
Want to promote SUCCUBUS? Click HERE!!!! | Want to buy SUCCUBUS? Click HERE!!!! Yeah, yeah, you know, That One Program! | Want to trade links with StompBunny.com? Loryn (3:16 PM): I love it, just as long as we keep the bedroom door closed from all ears then we can have throw down hard core sex that makes us money haha fuck it we can have sex on money never did that before |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
FBOP Class Of 2013
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
|
Quote:
the code works fine outside the <?php tag, but within it parsese it wrong |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
FBOP Class Of 2013
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Aug 2003
Location: Someplace Windy
Posts: 4,501
|
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.
__________________
Perfect Gonzo |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Confirmed User
Join Date: Nov 2003
Location: ThatOneProgram.com
Posts: 9,898
|
Quote:
Paste the whole php tag
__________________
Want to promote SUCCUBUS? Click HERE!!!! | Want to buy SUCCUBUS? Click HERE!!!! Yeah, yeah, you know, That One Program! | Want to trade links with StompBunny.com? Loryn (3:16 PM): I love it, just as long as we keep the bedroom door closed from all ears then we can have throw down hard core sex that makes us money haha fuck it we can have sex on money never did that before |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
FBOP Class Of 2013
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
|
Code:
<!-- categories //--> <tr> <td> <?php <img src='images/CategoriesBox/header.jpg' width='150' height='15' border='0'> $categories_string = ''; $categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '0' and c.categories_id = cd.categories_id and cd.language_id='" . $languages_id ."' order by sort_order, cd.categories_name"); while ($categories = tep_db_fetch_array($categories_query)) { $foo[$categories['categories_id']] = array( 'name' => $categories['categories_name'], 'parent' => $categories['parent_id'], 'level' => 0, 'path' => $categories['categories_id'], 'next_id' => false ); if (isset($prev_id)) { $foo[$prev_id]['next_id'] = $categories['categories_id']; } $prev_id = $categories['categories_id']; if (!isset($first_element)) { $first_element = $categories['categories_id']; } } |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
Confirmed User
Join Date: Nov 2003
Location: ThatOneProgram.com
Posts: 9,898
|
Quote:
Dude I am all over that shit, hit me up 346940591
__________________
Want to promote SUCCUBUS? Click HERE!!!! | Want to buy SUCCUBUS? Click HERE!!!! Yeah, yeah, you know, That One Program! | Want to trade links with StompBunny.com? Loryn (3:16 PM): I love it, just as long as we keep the bedroom door closed from all ears then we can have throw down hard core sex that makes us money haha fuck it we can have sex on money never did that before |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Confirmed User
Join Date: Nov 2003
Location: ThatOneProgram.com
Posts: 9,898
|
__________________
Want to promote SUCCUBUS? Click HERE!!!! | Want to buy SUCCUBUS? Click HERE!!!! Yeah, yeah, you know, That One Program! | Want to trade links with StompBunny.com? Loryn (3:16 PM): I love it, just as long as we keep the bedroom door closed from all ears then we can have throw down hard core sex that makes us money haha fuck it we can have sex on money never did that before |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Confirmed User
Join Date: Aug 2003
Location: Someplace Windy
Posts: 4,501
|
Use:
Code:
<!-- categories //--> <tr> <td> <?php echo "<img src='images/CategoriesBox/header.jpg' width='150' height='15' border='0'>"; $categories_string = ''; $categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '0' and c.categories_id = cd.categories_id and cd.language_id='" . $languages_id ."' order by sort_order, cd.categories_name"); while ($categories = tep_db_fetch_array($categories_query)) { $foo[$categories['categories_id']] = array( 'name' => $categories['categories_name'], 'parent' => $categories['parent_id'], 'level' => 0, 'path' => $categories['categories_id'], 'next_id' => false ); if (isset($prev_id)) { $foo[$prev_id]['next_id'] = $categories['categories_id']; } $prev_id = $categories['categories_id']; if (!isset($first_element)) { $first_element = $categories['categories_id']; } }
__________________
Perfect Gonzo |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 | |
FBOP Class Of 2013
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 | |
FBOP Class Of 2013
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
|
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 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 | |
Confirmed User
Join Date: Nov 2003
Location: ThatOneProgram.com
Posts: 9,898
|
Quote:
__________________
Want to promote SUCCUBUS? Click HERE!!!! | Want to buy SUCCUBUS? Click HERE!!!! Yeah, yeah, you know, That One Program! | Want to trade links with StompBunny.com? Loryn (3:16 PM): I love it, just as long as we keep the bedroom door closed from all ears then we can have throw down hard core sex that makes us money haha fuck it we can have sex on money never did that before |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 |
Damn Right I Kiss Ass!
Industry Role:
Join Date: Dec 2003
Location: Cowtown, USA
Posts: 32,409
|
Damn... wow.... I'm just gonna keep my mouth shut.. ;)
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 | |
So Fucking Banned
Join Date: Oct 2002
Location: MaxCash.com
Posts: 12,745
|
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. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 | |
FBOP Class Of 2013
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#18 | |
FBOP Class Of 2013
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
|
Quote:
i am a graphics guy who happens to know extensive html and basic coding ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |