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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.