Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 12-22-2010, 02:27 PM PHP Changing URL
FGU
FGU's Avatar
Super Talker

Posts: 116
Trades: 0
Hi,

I'm a php newbie and hope to get some answers to this question of mine. Please bear with me if I'm slow. XD

So, I have this site with an iframe on it. The iframe is set to:
example.com/test.php?id=1
I want to add some php that will change to
"id=1"
to a
"id=2",
to a 3, and so on, counting up once a link once a link outside of the iframe is pressed. Is PHP the right language to do this, or would it be javascript? I'm unfamiliar with both languages.

Thanks.

Last edited by chrishirst; 12-22-2010 at 02:42 PM..
FGU is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-22-2010, 02:41 PM Re: PHP Changing URL
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,385
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Javascript can do that without a round trip to the server.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to PHP Changing URL
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.19267 seconds with 12 queries