Jump to content

Keeping info from form in same window


rn14

Recommended Posts

I am curently attempting to put an application together which enables my client to submit a series of pieces of data through a number of forms. All data is sent to the database after it has been submitted. So basically I have a form info submitted and sent to database then another form  which confirms success of sending other info and sends more info to the database. All the sending of info to the database works the only problem I have is when the information is submitted its placed in a new window instead of the existing one.

My form works by passing form data to php variables and then posting this to a php script which inserts the data in the database. I just have to get it to work so it remains in the same window instead of opening a new one.Im new to this so it could be something really obvious

 

<form action="updated_menu1_title.php" method="get" TARGET="_top">

<?php

$oFCKeditor = new FCKeditor('FCKeditor1') ;

$oFCKeditor->BasePath = 'http://www.rossnoonan.com/mffy/fckeditor/' ;

$oFCKeditor->Value = "$title";

$oFCKeditor->Create() ;

?>

 

<br>

<input type="hidden" name="ud_id" value="<? echo "$id";?>">

<input type="submit" value="Submit">

 

</form>

 

Link to comment
https://forums.phpfreaks.com/topic/128087-keeping-info-from-form-in-same-window/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.