Web Hosting Talk







View Full Version : Learning PHP & Mysql


Newbie
11-10-2002, 01:44 PM
I am trying to learn php programming and using it with Mysql. I'm really looking for a great place to learn. Trying to do this without buying book after book. I have the php manual and Mysql manual.

Have checked google briefly but finding a good help section is quite hard.

PM me if you don't wish to post a URL.

Thank you,

Ratty
11-10-2002, 03:35 PM
When I was learning I used the WebMonkey PHP tutorials.

Here's the link

http://hotwired.lycos.com/webmonkey/programming/php/

interactive
11-10-2002, 05:56 PM
the ultimate php forum http://www.phpbuilder.com

Bulldog
11-10-2002, 06:15 PM
PHPBuilder.com
HotScripts.com

And as always, the best way if you're really willing to invest time/money into learning is buying books.

stennychong
11-11-2002, 03:35 AM
hi, i'm new in php language, can anyone please tell me how can i grap the last line in a file and split the value into 2 variable, the format of the file is.

Tue=12345678
Web=456789023

i want to write few simple line to get the last line and store the last value(12345678) into a file.

Thanks.

LocalHoster
11-11-2002, 07:25 AM
Originally posted by stennychong
hi, i'm new in php language, can anyone please tell me how can i grap the last line in a file and split the value into 2 variable, the format of the file is.

Web=456789023

i want to write few simple line to get the last line and store the last value(12345678) into a file.

Thanks.

<.?

$data = 'Tue=12345678';
$a = explode(' ', $data);

echo $a[1];
echo $a[0];
?.>
This code will output :

12345678
Tue

stennychong
11-11-2002, 10:41 PM
Thanks you very much.

Stenny