SunQuest
           WAP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreWAP 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:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old September 10th, 2005, 01:42 PM
vrspectre's Avatar
vrspectre vrspectre is offline
I see semi-colons
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2005
Location: Portland, OR
Posts: 297 vrspectre User rank is Sergeant (500 - 2000 Reputation Level)vrspectre User rank is Sergeant (500 - 2000 Reputation Level)vrspectre User rank is Sergeant (500 - 2000 Reputation Level)vrspectre User rank is Sergeant (500 - 2000 Reputation Level)vrspectre User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 4 Days 10 h 38 m 59 sec
Reputation Power: 16
Send a message via AIM to vrspectre Send a message via Yahoo to vrspectre
Decks, Cards, and my gray hair

I have a problem w/ my code. I'm using PHP to create dynamic WML pages. Simple enough, done it bunches. I think the problem to be in my implementation of the WML.


PHP Code:
echo( "<td><a href=\"#picdisplay?pic=$file[$q]\"><img src=\"pics/thumb/$file[$q]\" alt='thumb$a'/></a></td>\n"); 


I use a loop to run through this 9 times per page to create a thumbnail gallery with each time through $q gets 1 added to it.

I'm trying to pass the value of $file[$q] to another card in the same deck. If I do it the above way, when I click a link nothing happens.

If I do this:

PHP Code:
echo( "<td><a href=\"#picdisplay\"><img src=\"pics/thumb/$file[$q]\" alt='thumb$a'/></a></td>\n"); 


Then it will follow the link to the other card, but of course no value is there for it to display an image w/. Notice the missing ?pic=$file[$q]


Other than creating 9 instances of the same card but with different titles, is there a way to do this?

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreWAP Programming > Decks, Cards, and my gray hair


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


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





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