Click here to Skip to main content
16,006,531 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
GeneralRe: Learning Linux Pin
wbgxx21-Jun-10 3:58
wbgxx21-Jun-10 3:58 
AnswerRe: Learning Linux Pin
Iranian MM7-Sep-11 6:51
Iranian MM7-Sep-11 6:51 
QuestionPHP DOM Pin
vho12320-May-10 4:50
vho12320-May-10 4:50 
AnswerRe: PHP DOM Pin
Graham Breach20-May-10 7:06
Graham Breach20-May-10 7:06 
QuestionManaging a database insert failure.. Pin
MacIntyre19-May-10 4:57
MacIntyre19-May-10 4:57 
AnswerRe: Managing a database insert failure.. [modified] Pin
Dr.Walt Fair, PE19-May-10 5:26
professionalDr.Walt Fair, PE19-May-10 5:26 
GeneralRe: Managing a database insert failure.. Pin
MacIntyre19-May-10 5:39
MacIntyre19-May-10 5:39 
GeneralRe: Managing a database insert failure.. Pin
Dr.Walt Fair, PE19-May-10 6:02
professionalDr.Walt Fair, PE19-May-10 6:02 
I'm not an expert in asp.net, but PHP is just server side, so if you need to get the info back to the client browser, you'll have to do something else, like use AJAX.

I have a user registration web page embedded in a PHP script (or PHP in a web page -- depends on your viewpoint) with a parameter indicating an error message. The first time you call the web page, the error message is blank so nothing is displayed.

If the registration succeeds, the PHP script redirects to a login or a secure page. If it fails it reloads the registration page again with a message that the user name is already taken (or database in unavailable, or password was blank, etc.).
CQ de W5ALT

Walt Fair, Jr., P. E.
Comport Computing
Specializing in Technical Engineering Software


GeneralRe: Managing a database insert failure.. Pin
MacIntyre19-May-10 6:32
MacIntyre19-May-10 6:32 
GeneralRe: Managing a database insert failure.. Pin
Dr.Walt Fair, PE19-May-10 6:53
professionalDr.Walt Fair, PE19-May-10 6:53 
GeneralRe: Managing a database insert failure.. Pin
MacIntyre19-May-10 7:53
MacIntyre19-May-10 7:53 
GeneralRe: Managing a database insert failure.. Pin
User 171649219-May-10 7:14
professionalUser 171649219-May-10 7:14 
GeneralRe: Managing a database insert failure.. Pin
MacIntyre19-May-10 7:54
MacIntyre19-May-10 7:54 
QuestionFile Conversion Pin
S p k 52117-May-10 18:44
S p k 52117-May-10 18:44 
Questionphp and batch files Pin
simpocoder17-May-10 3:13
simpocoder17-May-10 3:13 
AnswerRe: php and batch files Pin
User 171649217-May-10 3:22
professionalUser 171649217-May-10 3:22 
GeneralRe: php and batch files Pin
simpocoder17-May-10 4:10
simpocoder17-May-10 4:10 
GeneralRe: php and batch files Pin
cjoki17-May-10 11:43
cjoki17-May-10 11:43 
GeneralRe: php and batch files Pin
simpocoder18-May-10 22:53
simpocoder18-May-10 22:53 
GeneralRe: php and batch files Pin
cjoki1-Jun-10 14:19
cjoki1-Jun-10 14:19 
QuestionUsing SAX Pin
vho12317-May-10 2:17
vho12317-May-10 2:17 
Question">" problem in PHP code Pin
SNArruda15-May-10 6:09
SNArruda15-May-10 6:09 
AnswerRe: ">" problem in PHP code Pin
mdusyl15-May-10 7:52
mdusyl15-May-10 7:52 
AnswerRe: ">" problem in PHP code Pin
cjoki17-May-10 11:37
cjoki17-May-10 11:37 
GeneralRe: ">" problem in PHP code Pin
polluks1-Jun-10 8:36
polluks1-Jun-10 8:36 

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.