All-In-One Form, should I be using sessions here?

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
bmcua

Wed Feb 26, 2003 4:09 pm

any code i can see???

Romantik
New php-forum User
New php-forum User
Posts: 67
Joined: Mon Feb 24, 2003 2:55 am
Location: ../Ukraine/Kherson
Contact:

Thu Feb 27, 2003 12:29 am

Hi!
Use sessions
and save in sessions UserID and check it in your forms
session_start();
if(!isset($_SESSION["UserID"]))
exit;
else
$sql= "SELECT * ..... WHERE... AND id=".$_SESSION["UserID"];
PHP+MySql= Love :)

Post Reply
  • Information
  • Who is online

    Users browsing this forum: Baidu [Spider] and 5 guests