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 10-13-2008, 09:15 PM Duplicate PHP value
Novice Talker

Posts: 8
Name: asep komara sanjaya
Trades: 0
Hello all,

I'm a learning php this year but i encounters some problems.

One of them is about php value. The problem is how do i do to prevent a php file from resending the same values into the database whenever the page is refreshed?

Anyone help?


Thanks,

Asep
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
komrad is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-14-2008, 02:19 AM Re: Duplicate PHP value
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,385
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
redirect the page back to itself after processing the data.
__________________
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!
 
Old 10-14-2008, 02:30 AM Re: Duplicate PHP value
abhi's Avatar
Super Talker

Posts: 100
Name: abhishek
Location: mauritius
Trades: 0
I don't know how you code but i'll explain you with a simple exam as christ as explain you.

supposed you have pg1, pg2.
pg1 is the page used to sent values.
pg2 is the page to receive the values. If refreshed pg2, the value will be duplicated.
So use "header" on pg2 to redirect the user on pg1.
__________________

Please login or register to view this content. Registration is FREE
Visit Mauritius Island for your holidays!
Please login or register to view this content. Registration is FREE
abhi is offline
Reply With Quote
View Public Profile Visit abhi's homepage!
 
Reply     « Reply to Duplicate PHP value
 

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.12472 seconds with 12 queries