Go Back   Novahq.net Forum > phphq.Net > phphq.Net Forums
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-09-2004, 09:09 AM
Sanjay
Unregistered

Posts: n/a

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
Reply With Quote
  #2  
Old 11-07-2004, 12:10 AM
mohican
Unregistered

Posts: n/a

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
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a script to do this? Chrispy Web design and Programming 16 11-20-2007 01:53 AM
[DST USA] update your outlook & OS to new time setting update Hellfighter Hardware and Software 0 03-11-2007 07:32 PM
old script Djinn phphq.Net Forums 3 03-25-2005 11:14 AM
Windows update KB867801 IE6 SP1 update Hellfighter Tech Support 0 07-30-2004 02:47 PM
My First Script :) EDGE Web design and Programming 13 07-05-2004 02:56 PM


All times are GMT -5. The time now is 11:18 PM.




Powered by vBulletin®