Novahq.net Forum

Novahq.net Forum (https://novahq.net/forum/index.php)
-   phphq.Net Forums (https://novahq.net/forum/forumdisplay.php?f=277)
-   -   Help - to update script (https://novahq.net/forum/showthread.php?t=38642)

Sanjay 10-09-2004 09:09 AM

Help - to update script
 
Photo Album is simply great. I want to add something in it. But I don't know PHP.

In album, clicking anythump, take me to jpg of that photo. I want instead of directly going to jpg, if it an check if there is any html available with that name, it should show that page, if not show jpg.

Ex-

if I have three files in album folder.

abc.jpg

bbc.jpg
bbc.html


- clicking on thumb_abc.jpg should take me to abc.jpg

but clicking on thumb_bbc.jpg - it should go to bbc.html.


Please help.

With Best Regards

Sanjaymundra@hotmail.com

mohican 11-07-2004 12:10 AM

I guess it would be something like this sort command:

assuming that whether an entry has html is dependant on whether X is filled in.

check X for values
if blank ignore and continue
if not blank, use value in X instead of default


All times are GMT -5. The time now is 04:37 PM.

Powered by vBulletin®