[PHP] I bought SAMS PHP mySQL WEB DEVELOPMENT:)

2004-01-17 Thread SASSINC Internet Solutions - Arabic Department
Hi all..

Now I have SAMS book for PHP and mySQL but in Arabic.. so now at the moment I only 
want to learn things which will help me in my project.. so which lessons must I see.. 
and which PHP Actions will I use for that?

I want to make a PHP page that reads from a mySQL Database.. This page displays two 
fields for the user : 1- Username. 2- Password.

Now in the database there are many columns.. each one has many fields :

Username, Password, Serial, Phone No., Address..Etc..

Now I want the PHP file to take the Username and Password after the user enter them in 
the fields and compare them with the ones inside the database.. if they are the same.. 
the serial field inside the database will send its value to the PHP page.. which will 
echo it as a variable ($var) there..

So every user has a column that has..

So which actions must I use.. and which lessons are important for me at the moment? 
because my project must be finnished in the comming week..

Thanks alot for you help in advance..

Cheers.


Re: [PHP] I bought SAMS PHP mySQL WEB DEVELOPMENT:)

2004-01-17 Thread memoimyself
Hi there,

On 17 Jan 2004 at 21:28, SASSINC Internet Solutions -  wrote:

 Now I have SAMS book for PHP and mySQL but in Arabic.. so now at the
 moment I only want to learn things which will help me in my project..
 so which lessons must I see.. and which PHP Actions will I use for
 that? 

What do you mean which actions?
 
 I want to make a PHP page that reads from a mySQL Database.. This page
 displays two fields for the user : 1- Username. 2- Password. 
 
 Now in the database there are many columns.. each one has many fields
 : 
 Username, Password, Serial, Phone No., Address..Etc.. 
 
 Now I want the PHP file to take the Username and Password after the
 user enter them in the fields and compare them with the ones inside
 the database.. if they are the same.. the serial field inside the
 database will send its value to the PHP page.. which will echo it as a
 variable ($var) there.. 

Whatever do you want to do that for? What do you need (or want) to accomplish? What 
kind of project is this? Give us the big picture!

 So every user has a column that has.. 

That has...?? Your unfinished sentences presume telepathic powers that few of us 
have. :-)
 
 So which actions must I use.. and which lessons are important for me
 at the moment? because my project must be finnished in the comming week.

What exactly do you expect the people on this list to do for you? Help you with your 
project because you're running out of time? Most of us are very busy too, so take it 
nice 
and easy.

Have you opened the book that you've bought and had a look at its table of contents? 
Have you read the introduction? Authors usually tell you in the introduction which 
parts 
you absolutely must read to get up and running. Assuming that your book has a section 
on PHP, a section on MySQL and a section on PHP interacting with MySQL, you'll 
probably want to read the first few chapters in each section.

When you have a better idea of what it is that you want to accomplish and stumble on a 
problem that you can't solve, then by all means post a question to this list — 
preferably 
with a title that reflects the issue you're addressing, not the urgency of your 
personal 
needs.

Good luck,

Erik

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php