RE: [PHP] Still error messages!!

2004-01-29 Thread Jay Blanchard
[snip] So why it is making the Distance value = 0 and it doen't update the value in the database. (Because it must update the value in the database by it) [/snip] It is because you are not properly retrieving your query results and placing properly in variables those results. You need to spend som

Re: [PHP] Still error messages!!

2004-01-28 Thread Radwan Aladdin
ot;David OBrien" <[EMAIL PROTECTED]> To: "Radwan Aladdin" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, January 29, 2004 12:07 AM Subject: Re: [PHP] Still error messages!! > At 02:45 PM 1/28/2004, Radwan Aladdin wrote: > >Now I fixed the error

Re: [PHP] Still error messages!!

2004-01-28 Thread David OBrien
$LessonsTimeLimit){ $result3 = mysql_query($query3) or die("Query error: " . mysql_error()); }else{ echo "Not yet!"; } ?> So why it is making the Distance value = 0 and it doen't update the value in the database. (Because it must update the value in the database by it) Reg

Re: [PHP] Still error messages!!

2004-01-28 Thread Radwan Aladdin
it must update the value in the database by it) Regards.. - Original Message - From: "John Nichel" <[EMAIL PROTECTED]> To: "Radwan Aladdin" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, January 28, 2004 11:37 PM Subject: Re: [PHP] Still

Re: [PHP] Still error messages!!

2004-01-28 Thread John Nichel
David OBrien wrote: I believe I'd start here http://www.php.net/manual/en/function.mssql-fetch-row.php Or here even http://www.php.net/manual/en/function.mysql-fetch-row.php ;) -- By-Tor.com It's all about the Rush http://www.by-tor.com -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Still error messages!!

2004-01-28 Thread John Nichel
Radwan Aladdin wrote: So where are the errors? Waiting your help please.. Regards.. What's the error message??? -- By-Tor.com It's all about the Rush http://www.by-tor.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Still error messages!!

2004-01-28 Thread John W. Holmes
From: "Radwan Aladdin" <[EMAIL PROTECTED]> > But I mean by $RightLoginTime = 'LoginTime'; > the selected field from the database (LoginTime).. First I selected the > LoginTime from the database and now I'm trying to name a variable for it to > use it.. > > So what is the correct code? You end up

Re: [PHP] Still error messages!!

2004-01-28 Thread David OBrien
SASSINC Internet Solutions - Arabic Department [EMAIL PROTECTED] http://www.SASSINC.Net - Original Message - From: "John W. Holmes" <[EMAIL PROTECTED]> To: "Radwan Aladdin" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, January 28, 2004

Re: [PHP] Still error messages!!

2004-01-28 Thread Radwan Aladdin
code? Regards.. -- SASSINC Internet Solutions - Arabic Department [EMAIL PROTECTED] http://www.SASSINC.Net - Original Message - From: "John W. Holmes" <[EMAIL PROTECTED]> To: "Radwan Aladdin" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, January 28,

Re: [PHP] Still error messages!!

2004-01-28 Thread David OBrien
rror? Regards.. - Original Message - From: "David OBrien" <[EMAIL PROTECTED]> To: "Radwan Aladdin" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, January 28, 2004 10:34 PM Subject: Re: [PHP] Still error messages!! > I assume you are usin

Re: [PHP] Still error messages!!

2004-01-28 Thread John W. Holmes
From: "Radwan Aladdin" <[EMAIL PROTECTED]> > I made that.. but there is something strange!! It's strange you can't follow instructions... > I SELECTED field from the database.. but it is not showing what it contains!! > > This is what is shown on the screen : > > UPDATE accounts SET LogoutTime=

Re: [PHP] Still error messages!!

2004-01-28 Thread Radwan Aladdin
n" <[EMAIL PROTECTED]> To: "Radwan Aladdin" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, January 28, 2004 10:34 PM Subject: Re: [PHP] Still error messages!! > I assume you are using another page with a form to enter the username and > password

Re: [PHP] Still error messages!!

2004-01-28 Thread David OBrien
changes.. no updates!! Regards.. - Original Message - From: "Damon Hill" <[EMAIL PROTECTED]> To: "'Radwan Aladdin'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, January 28, 2004 9:56 PM Subject: RE: [PHP] Still error messages!! &g

Re: [PHP] Still error messages!!

2004-01-28 Thread Radwan Aladdin
the same.. no changes.. no updates!! Regards.. - Original Message - From: "Damon Hill" <[EMAIL PROTECTED]> To: "'Radwan Aladdin'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, January 28, 2004 9:56 PM Subject: RE: [PHP] Still error

RE: [PHP] Still error messages!!

2004-01-28 Thread Damon Hill
eedom of speech to make up for the freedom of thought which they avoid." - Soren Aabye Kierkegaard -Original Message- From: Radwan Aladdin [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 28, 2004 11:50 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Still error messages!! Thank for

Re: [PHP] Still error messages!!

2004-01-28 Thread Radwan Aladdin
- From: "David OBrien" <[EMAIL PROTECTED]> To: "Radwan Aladdin" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, January 28, 2004 9:35 PM Subject: Re: [PHP] Still error messages!! > At 12:08 PM 1/28/2004, Radwan Aladdin wrote: > >Hello al

Re: [PHP] Still error messages!!

2004-01-28 Thread David OBrien
At 12:08 PM 1/28/2004, Radwan Aladdin wrote: Hello all.. This is the PHP code : include("Config.php"); $link = mysql_connect("$user_hostname", "$user_username", "$user_password"); mysql_select_db("$user_database", $link); $UserName = $_GET['UserName']; $Password = $_GET['Password']; $LogoutTim

Re: [PHP] Still error messages!!

2004-01-28 Thread Radwan Aladdin
wan Aladdin" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, January 28, 2004 9:12 PM Subject: RE: [PHP] Still error messages!! [snip] So where are the errors? [/snip] Good question. You have not shown us the error message. Please show us and we can help. -- PHP Ge

Re: [PHP] Still error messages!!

2004-01-28 Thread John W. Holmes
From: "Radwan Aladdin" <[EMAIL PROTECTED]> > So where are the errors? In your code or database, I'm sure of it. In other words, why don't you tell us what error message your getting, the line number, etc. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visi

RE: [PHP] Still error messages!!

2004-01-28 Thread Jay Blanchard
[snip] So where are the errors? [/snip] Good question. You have not shown us the error message. Please show us and we can help. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Still error messages!!

2004-01-28 Thread Radwan Aladdin
Hello all.. This is the PHP code : And this is the mySQL structure : # phpMyAdmin MySQL-Dump # version 2.2.3 # http://phpwizard.net/phpMyAdmin/ # http://phpmyadmin.sourceforge.net/ (download page) # # Host: localhost # Generation Time: Jan 28, 2004 at 08:27 PM # Server version: 3.23.47 # PHP V