Help answer threads with 0 replies.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 02-16-2004, 05:47 AM   #1
Registered: Oct 2003
Posts: 95

Rep: Reputation: 15
I need to insert and post PHP MYSQL

Basically it is simple

I have a link that looks sorta like this

etc there is about 15 vars that get sent as a query string to my page to auto populate a form.

Now what i need to be able to do is insert the fields into the database, and also POST the data to a different website.

The form is populated and the user clicks the submit button to move to the next step.

The var names that are in the intial query string are diff then the names of the fields used to submit the POST to the other site and the INSERT into the dabase.

The other website has to have a POST to it and the vars from the form need to be INSERTED into the database.

I am using DreamWeaver MX and can only get one or the other to happen not both.

Ehh need help FAST


Last edited by DropHit; 02-16-2004 at 05:49 AM.
Old 02-18-2004, 07:11 PM   #2
Registered: Oct 2003
Posts: 95

Original Poster
Rep: Reputation: 15
Nobody knows?

WOW none of you php gurus know how to do this?

Old 02-18-2004, 11:21 PM   #3
Registered: Mar 2003
Location: Centreville, Virginia
Distribution: Mandrak, Red Hat
Posts: 163

Rep: Reputation: 30
I am new to PHP programming myself. So I may not be much help. I wonder if there is a way to do a java redirect using the POST method? You could POST to PHP_SELF write the record to the database and then redirect to the other site using the POST method. I have wondered if there is a way to transfer data via the POST method without using a form but I haven't investigated it.


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP:Unable to post variables from html form to mysql database vikram_cvk Linux - Software 1 09-29-2004 03:01 PM
PHP insert. agallant Programming 4 08-17-2004 02:36 PM
PHP "for.. loop" to insert into mysql Boby Programming 10 05-29-2004 10:07 AM
php mysql insert null value spoody_goon Programming 2 03-28-2004 10:20 AM
How can I insert a .GIF file into my post? costasm LQ Suggestions & Feedback 4 10-15-2003 06:04 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:33 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration