Beginner Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherBeginner Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old June 15th, 2000, 03:12 PM
master ken master ken is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Location: MO, US
Posts: 119 master ken User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Send a message via AIM to master ken Send a message via Yahoo to master ken
I have a web page called backgrounds that has about 73 images to choose from. When you click on an image, it takes you to the layouts page. There are 10 to choose from and when you click on one of those I want a page that shows the two choices like this:
Your background is <image here> and your layout is <image here>.

But I do not want to make over 800 different web pages for all variations. Does ANYONE know where I can get a script that does this, the easiest or most effective language to use, or any other usefull information concerning this form? PLEASE REPLY!!

Either reply here or e-mail at Ken72482@aol.com

(I know AOHELL sucks but it's not mine)

THANKS!

-Ken

Reply With Quote
  #2  
Old June 15th, 2000, 09:36 PM
firepages's Avatar
firepages firepages is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Feb 2000
Location: Perth West Australia
Posts: 741 firepages User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
Hi Ken - do you have access to PHP or ASP ? or do you have to work in javascript? in can be done in JavaScript - its just easier with server-side - let us know.

Simon

------------------
Simon Wheeler
FirePages -DHTML/PHP/MySQL

Reply With Quote
  #3  
Old June 16th, 2000, 09:57 AM
master ken master ken is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Location: MO, US
Posts: 119 master ken User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Send a message via AIM to master ken Send a message via Yahoo to master ken
I have my own server and have access to PHP, mySQL, and other stuff, however, I'm not sure what ASP is, but I think I could use that too.

Reply With Quote
  #4  
Old June 16th, 2000, 10:27 PM
firepages's Avatar
firepages firepages is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Feb 2000
Location: Perth West Australia
Posts: 741 firepages User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
OK - PHP -a simple way not utilising the DB.

in (eg) images.php - make every thumbnail a link - the link constructed so:
<a href="backgrounds.php3?img=img1"><img src="img1.gif" border=0 etc></a>

this takes you to backgrounds.php3 where you have your list of background images - again links ie:

<a href="show.php3?img=<?php echo $img;?>&back=back1"><img src="back1.jpg"></a> - when clicked you go to show.php3 - you now have the image name and background name in the url, so we do:

<html etc>

you chose this image:<img src="<?php echo $img;?>.gif" border=0 etc><br>
you chose this background:<img src="<?php echo $back;?>.jpg">

you could also use the background chosen as the background by <body background="<?php echo $back;?>.jpg">

this is assuming that your image file types are constant & that the images are all the same size, differences can be acounted for - but as I said this is a simple example.

Having your image data (not the images themselves) in a database would really make life easier for displaying the links on pages 1 & 2 - (or even in an array)

It will also help to name your images logically ie img1.gif,img2.gif etc - so if you had 70 images - images.php3 would look like this:

<table>
<?php for($x=1;$x<=70;$x++){
<tr><td><a href="backgrounds.php3?img=img<?php echo $x;?>.gif"><img src="img<?php echo $x;?>.gif"></a></td></tr>
<?php } ?>
</table>

thus creating 70 image ands links in go,

Hope this gets you under way,

Simon


------------------
Simon Wheeler
FirePages -DHTML/PHP/MySQL

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherBeginner Programming > Multiple form help!!


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway