Click here to Skip to main content
15,887,485 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
GeneralRe: Displaying entire row into different text boxes Pin
rashmin8822-Jul-10 19:14
rashmin8822-Jul-10 19:14 
QuestionHow to export to doc in php Pin
sarang_k20-Jul-10 0:48
sarang_k20-Jul-10 0:48 
AnswerRe: How to export to doc in php Pin
Peace ON20-Jul-10 1:11
Peace ON20-Jul-10 1:11 
GeneralRe: How to export to doc in php Pin
sarang_k20-Jul-10 1:38
sarang_k20-Jul-10 1:38 
GeneralRe: How to export to doc in php Pin
Jayapal Chandran26-Jul-10 8:29
Jayapal Chandran26-Jul-10 8:29 
QuestionPHP/SQL -> Duplicate data on Insert when Page is refreshed Pin
lgmanuel19-Jul-10 22:53
lgmanuel19-Jul-10 22:53 
AnswerRe: PHP/SQL -> Duplicate data on Insert when Page is refreshed Pin
Peace ON20-Jul-10 0:01
Peace ON20-Jul-10 0:01 
AnswerRe: PHP/SQL -> Duplicate data on Insert when Page is refreshed Pin
cjoki20-Jul-10 4:53
cjoki20-Jul-10 4:53 
A refresh will resubmit $_POST variables, that if you are using them in your page logic, means the logic will repeat. These values are stored on the users browser so using unset to clear the post variable will do you no good, you need to do 2 things the first is as the other poster says, make certain the information does not already exist. The second is when the data is processed send the user to a specific URL. This will keep the user from refreshing the page and having post vars repeated.

On a side note if you are echoing any information before you redirect the user, they will get a error message (headers already sent or some such). You can fix this with eith redirect by using javascript or you can redign your code to put all the echo'd information into a variable and echo that just after you redirection code.
AnswerRe: PHP/SQL -> Duplicate data on Insert when Page is refreshed Pin
Jayapal Chandran26-Jul-10 8:23
Jayapal Chandran26-Jul-10 8:23 
Questionhow can i get boundaries of a region Pin
hariranjit17-Jul-10 20:19
hariranjit17-Jul-10 20:19 
AnswerRe: how can i get boundaries of a region Pin
Peace ON18-Jul-10 23:11
Peace ON18-Jul-10 23:11 
AnswerRe: how can i get boundaries of a region Pin
Jayapal Chandran26-Jul-10 8:35
Jayapal Chandran26-Jul-10 8:35 
AnswerRe: family Tree Script Pin
User 171649217-Jul-10 2:38
professionalUser 171649217-Jul-10 2:38 
GeneralRe: family Tree Script Pin
Noman Rasheed17-Jul-10 2:55
Noman Rasheed17-Jul-10 2:55 
GeneralRe: family Tree Script Pin
User 171649217-Jul-10 3:12
professionalUser 171649217-Jul-10 3:12 
GeneralRe: family Tree Script Pin
Noman Rasheed17-Jul-10 3:18
Noman Rasheed17-Jul-10 3:18 
GeneralRe: family Tree Script Pin
User 171649217-Jul-10 10:13
professionalUser 171649217-Jul-10 10:13 
GeneralRe: family Tree Script Pin
Noman Rasheed17-Jul-10 10:33
Noman Rasheed17-Jul-10 10:33 
GeneralRe: family Tree Script Pin
Noman Rasheed18-Jul-10 9:54
Noman Rasheed18-Jul-10 9:54 
GeneralRe: family Tree Script Pin
User 171649218-Jul-10 11:54
professionalUser 171649218-Jul-10 11:54 
QuestionPHP Mail from Script on Linux Pin
NDBUK16-Jul-10 9:38
NDBUK16-Jul-10 9:38 
AnswerRe: PHP Mail from Script on Linux Pin
cjoki19-Jul-10 4:26
cjoki19-Jul-10 4:26 
Questionregular expressions performance Pin
yftah198913-Jul-10 22:20
yftah198913-Jul-10 22:20 
AnswerRe: regular expressions performance Pin
Richard MacCutchan14-Jul-10 1:20
mveRichard MacCutchan14-Jul-10 1:20 
AnswerRe: regular expressions performance Pin
CitrusTech14-Jul-10 1:56
CitrusTech14-Jul-10 1:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.