PDA

View Full Version : Any phpmyadmin gurus out there?


pornrex
2005-01-17, 11:07 PM
I'm a little stuck...

I'm trying to build my first table for a site that I'm working on and the banner ads are not showing up. Please help a newbie out!

|newbie|

Cleo
2005-01-17, 11:17 PM
You have to use full URLs on the link to the images.

Other then that it is just straight html coding.

pornrex
2005-01-18, 01:16 AM
The problem is not with the url...the url shows up fine.

The problem is getting the image to show up. I think I buggered up the coding for the image.

You know what I mean?

Here's where my error exists:

echo "<A HREF=\"" . $banner[$adnum][1] . "\" " .
" onmouseover=\"window.status='" . $banner[$adnum][1] . "';return true;\" onmouseout=\"self.status='';\">" .
"<IMG SRC=\"" . $banner[$adnum][2] . "images/" . $banner[$adnum][0] . "\">" .
" title=\"" . $banner[$adnum][3] . "\" " .
"</A>";

Can you help me out, Cleo?

Porn Meister
2005-01-18, 02:09 AM
I've never used phpthingy.. but shouldnt that title tag be inside the img tag before the closing ">" ?

pornrex
2005-01-18, 02:12 AM
Ok...I've adjusted it...it still won't work...

Any other takers out there?

Leon
2005-01-18, 07:38 PM
Hi Pornrex.

if you using php why dont you try
to use
--
?>
"<IMG SRC="<?php echo "$banner[$adnum][2]"; ?>
--
one of the problem might be in your coding with all the \"
and the second one i see with a qucik look is the path
"<IMG SRC=\"" . $banner[$adnum][2] . "images/
folder images is after the file name ?
i think its supposed to be
"<IMG SRC=\"" images/ . $banner[$adnum][2] . "

hope it Helped


ICQ: 153547093
Leon.

pornrex
2005-01-18, 10:02 PM
I have been fiddling with this all day and I'm happy to say that I figured it out!

Thanks for all your efforts everyone!!

|bananna|