Jump to content

Lightbox problems with php


protentus

Recommended Posts

Hi everyone,

 

As a last resort to trying to figure out my problem I have made an account on phpfreak :)

 

I'm wondering if anyone can help me with a problem that has been getting on my nerves for quite a few days now, I'll explain a little bit about it.

 

I am having problems getting lightbox (or rather greybox) to work with my php script.

I tested out the lightbox method on a blank html page and got it to work, but when i try and integrate it into my php coding where i echo out the pictures from the gallery

 

echo "<a href='".$row['5']."'><img style='width:101px; height:101px; float:left; margin:5px;' src=' ".$row['4']. "' /></a> ";

 

But when i put in the neccesary rel='gb_imageset[nice_pics]' into the code, it stops the gallery from working and posting any results from the database.

 

If anyone could help me with this, i would greatly appreciate it.

 

I'm sorry i cannot explain things any better, i admit to not being quite so proficient with php/sql, if it would help then someone COULD contact me on msn by [email protected] to request source files.

 

Thanks for any help or even just a responce

Link to comment
https://forums.phpfreaks.com/topic/221147-lightbox-problems-with-php/
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.