This is a discussion on PHP on windows within the Coding Help forums, part of the Webmaster Help category; i hadn't realised you're an ASP head ... you'll have no problem at all. I programmed ASP 2 years for ...
| |||||||
| Register | Forum Rules | FAQ | Donate | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| i hadn't realised you're an ASP head ... you'll have no problem at all. I programmed ASP 2 years for some firm in Germany .. absolutly no looking back after the switch to php. enjoy.
__________________ roll on summer |
| |||||
| Quote:
cool
__________________ :. Web Design & Development Web Design Ireland :. Search Engines Optimization Search Engines Optimization :. Directory Submission Directory Submission :. News & Press Release Ireland GiveItSocks.com :. Used Cars Ireland, Car Parts & Car Audio Cars For Sale, Car Parts & Accessories :. I Have 2 Find It Directory SEF Directory |
| |||||
| Quote:
Thanks guys, you are a great help. |
| ||||
| aye, pconnect() opens a persistant connection, which I have not myself found the need for as to date. Just stick with connect() If you use connect() , you do not have to explicitly close the connection at the end of a script, but I believe it is good practice. If you a making a site with an include for the footer, if you know what I mean .. or just some include that always comes at the end of each page .. just drop in something like this if ($db_link) {@mysql_close($db_link);} that will cover yer as |
| ||||
| download the chm manual here mate, its more help than any book you can buy. I use the function reference daily. http://www.php.net/download-docs.php |
| |||||
| Quote:
Looking also to get some books about it. Any recommendations? |
| ||||
| the manual is better than any book. There are plenty of user comments & examples in the function reference section. I would however recomend Mysql by paul DuBois ISBN 0-7357-1212-3, that's a good book, or beiginning databases with mysql published by Wrox is a bit simpler. The best tip you can get is this --- find your php.ini on your local server (in apache directory normaly) & set error_reporting = E_ALL This will force you to programme nice & clean - get used to that from day 1 & it will benefit you in the future. |
| |||||
| checked the php.ini and the error reporting is already setup as: error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT I guess that should do it. Also I was looking at the Wrox "Beginning PHP4" , i always found them very good. |
| |||||
| So how are you getting on?
__________________ Hosting & Domains|Plesk Vps Hosting|Geek / Cool Stuff|Films.ie|Cool Sites|Monetisation Tips|Movie Chat Energise your forum! Click here for info |
| |||||
| Quote:
i managed to make connection to the database, pull out records, create "define" global (called "Applications" in asp i think..), stiil looking for short cuts to typing code (the use of functions which are similar to asp, but can not find anything to replace the asp "sub .. end sub" as yet.) Thanks for asking. |