Soldato
Hi
I have this script of what you see when you in a MYSQL database
Is it possible to change the value of $plan to something else? So it says
What would you like your new plan to be?
Thanks
I have this script of what you see when you in a MYSQL database
Code:
<?
$conn = mysql_connect("localhost","watotron_infraon","12345");
$db = mysql_select_db("watotron_infraone");
$username = $_POST["username"];
$password = $_POST["password"];
$result = MYSQL_QUERY("SELECT * from form WHERE username='$username'and password='$password'")
or die ("username or password are incorrect");
$worked = mysql_fetch_array($result);
$username = $worked[username];
$password = $worked[password];
$forename = $worked[forename];
$othernames = $worked[othernames];
$plan = $worked[plan];
if($worked)
echo "Welcome $forename $othernames! Your current plan is $plan";
?>
Is it possible to change the value of $plan to something else? So it says
What would you like your new plan to be?
Thanks