Thread: Connecting to Mysql Database
Results 1 to 4 of 4
connecting database to struts Forum: DatabasesReplies: 0
Connecting to database Forum: CGI Perl ForumReplies: 0
Error connecting to mysql Forum: PHP ForumReplies: 1
Connecting to your SQL Database using Enterprise Manager Forum: Web Hosting ForumReplies: 0
09-13-2004, 09:21 AM #1
Connecting to Mysql Database
I'm trying to connect a PHP form to a Mysql database and all is fine until I add a "redirect" page upon form submission.
I'm using dreamweaver's "Insert Record" server behaviour. When I fill in the "After inserting, go to:" field the whole form breaks! Any ideas why? Can php perform two actions? 1) Insert record into database and 2) display page upon submission?
09-13-2004, 07:27 PM #2
Maybe if you define breaks, and post your code, we might be able to help you. The above is not a lot to go on.If one of our members helps you, please click the icon to add to their reputation!
No support via email or private message - use the forums!
Before you ask, have you Searched?
11-13-2004, 11:39 PM #3
Can php perform two actions?
The simple trick that i use is just add
to the end of your php function.
If the function gets that far (and you are using logic checks) then the action will be a success.....Upon success the browser will be redirected to whatever page you want.
Is that along the lines of what you were asking?
11-18-2006, 07:12 AM #4
Re: Connecting to Mysql Database