General Community > Off-Topic

PHP help!!!!

<< < (2/3) > >>

pcwacht:
Tried droplets?

http://www.websitebakers.com/pages/droplets/official-library/images/image.php


Have fun,
John

D. Peeters:
Yeah, but they stopped working :( now i'm seeing [[LastModified]] instead of 'laatste verandering: 30-11-2009 om 11:12'

D. Peeters:

--- Quote from: pcwacht on December 02, 2009, 10:05:44 PM ---You need something like this?
http://www.henc.nl/pages/cpu-moederborden.php

There is a litle php script runnin gin a code section, it fetches a text file and shows (in this case) only motherboards. IN the textfile is the name of the article wich is used for the small image, you can click on the small image and a popup comes with a larger image, if it exists, or a larger image of the same image

This scripts uses a text file, but can be a mysql tabel as well


--- Code: ---code
--- End code ---

Have fun,
John

--- End quote ---

what file did you use as 'sometextfile.txt'??? 'cause mine didn't work  :x

pcwacht:
a textfile with fixed length fields

You can see the 'parts'

--- Code: ---         $art0=trim(substr($buffer,0,12));
         $art1=trim(substr($buffer,12,33));
         $art2=trim(substr($buffer,46,8));
         $art3=trim(substr($buffer,64,3));

--- End code ---
where
- art0 = article code, wich is allso the article picture
- art1 = description
- art2 = price
- art3 = productgroup, when 'mai' it is a motherboard (mainboard)


John

D. Peeters:
No, that's not what I meant (sorry  :-) ) What I meant:
I have a list of products we sell I want to be able to show our customers a logo (when they click on the name of a producer), but, since we have 2000+ products I don't want to create a seperate page for each logo, 'cause it will take too much time. Is there a way by which I can create a file, like 'logo.php' which redirects 'logo.php?id=6' to their logo (another way is also fine with me :P)

thanks,
duco

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version