If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Saving Form/Documents into a Database(mysql), specific to its user.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-18-04, 10:20
adventure_ke adventure_ke is offline
Registered User
 
Join Date: Nov 2004
Posts: 13
Saving Form/Documents into a Database(mysql), specific to its user.

Saving Form/Documents into a Database(mysql), specific to its user.

Hi


I have created a Login with data entry specific to its USERS.

I would like to learn on how i do this.

First, i have a Database in mysql, which has all the User details. The user can login, new ones can create an account, and update accounts.

Until now, i have made a page, where once the user logins in, they go to the specific page which also states thier ?ID=XYZ, but this is a specific page that all go to.

Now, i require to build one, where it goes to a page that is his last logged in page. There should be an option to create a form, and send this to specific locations.

Also once this form is sent, a copy should be appearing as a link (to a docoment like file, where everything from the form is pasted together)
when the person logins in everytime.

Its like Email (without the connectivity bit!), so the person can view what he last updated/newform pasted/detele old ones...

I just want idea for everyone on how this can be built and have would be the basic technologies.
eg. save stuff in databases...
undefinedundefined
Reply With Quote
  #2 (permalink)  
Old 11-26-04, 15:33
darkmaster darkmaster is offline
Registered User
 
Join Date: May 2004
Posts: 7
Talking

Ok, Let me if I undestand you,
First at all, you need to add fields on your database that contains the information of the pages or links created.

In the First page loaded qhen loggin succes, you need to add a simple php code for example, that loads the data from the database, and create a dynamic reload option for the page.

the php code for load data from pages is:
<?php
global $ID; // the ID is the var for the user, this must be on the database
include("dynamic.php");
// as the first line
..... some of you
?>


In the dymanic.php file you need to load the database

<?php
/// the code of the connection of mysql and load the database
$page=$Object->Link;
echo '<META HTTP-EQUIV="Refresh" CONTENT="5; RL='.$page.'">';
// take care that the CONTENT value is the ammount of seconds to refresh and redirect a page.
?>

Hope that will help you, if not please visit www.technodeploy.com/portal where other forums are active and I may help you with the source code.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On