Q: Hi. I'm a PHP beginner and I need some help with PHP. Where is the best place to go and learn php and to find php help? A: PHP is a great language for web programming and it would serve you well to learn it. My first suggestion for learning PHP is to sit down with a good php book. Your best bet is to go to Amazon.com and search for PHP introductory books or books for PHP … [Read more...] about Where do I go for PHP help?
PHP/MySQL: How to Store Queries in a Separate Include File
When implementing a php/mysql database (or any database for that matter), it's sometimes easy to have all of the queries located in one place, as opposed to having them hard-coded into the pages. If the queries are hard-coded in, and the queries are reused on multiple pages (which they often are), it can be a cumbersome task to update all of the queries. Having hard-coded … [Read more...] about PHP/MySQL: How to Store Queries in a Separate Include File
Regular Expression for Single Letter – PHP
I was working on a project where I needed to validate a querystring for a single letter -- uppercase or lowercase. Since there is no php equivalent to the is_numeric() function, (e.g. a hypothetical is_alpha() function) I decided to use regular expressions to get the task done. I could have used ctype_alpha(), but that function wouldn't account for the fact that I needed to … [Read more...] about Regular Expression for Single Letter – PHP