1. Technology


You've been staring blankly at your code for 20 mins, and still can't figure out why it's not working? We've been there too. Here are some common problems and the (often simple) solutions that sometimes go overlooked.

Check Your PHP
There is nothing more frustrating than spending hours working on a bit of code, only to have it do nothing. Often there is something very simply causing big problems. Here are some handy tips for troubleshooting problem code.

Localhost doesn't work to connect to your MySQL database
How to troubleshoot localhost not working to connect to your mysql database via PHP.

How do I put my PHP files on my Web Host?
I have created some PHP scripts from your tutorials, how do I get them on to my host?

Check Your PHP Version
Hot to check your PHP Version

How can I learn PHP?
A guide to how to get started learning PHP

PHP Error Reporting
It is a lot easier to know what went wrong with your PHP script if you have a helpful error message instead of just a blank screen. This tutorial teaches you how to turn on error reporting.

Does PHP Work With My Browser?
Does a PHP based website work in my chosen internet browser?

What Version of PHP Am I Running?
Do you need to check what version of PHP your server is running? This simple tutorial shows you how.

Do I Have PHP?
How to determine if your hosting runs PHP

How do I pass variables in the URL in PHP 5?
If you pass variables in the URL in PHP 4, the same scripts might not work in PHP 5 without some editing. Here is how to fix it.

PHP Code Showing Instead of Running
How to troubleshoot the problem of PHP code showing instead of running on your website.

My page is blank, what did I do wrong?
Fixes for PHP page not loading, showing a blank or white screen

My PHP page never stops loading!
PHP Error Help - Your PHP page loads continually, and never completes. It keeps returning data or thinking.

How can report MySQL errors into PHP?
How to report an error into PHP from MySQL when your SQL code encounters problems

The mail () function isn't working
Some common problems with the mail () function

Why aren't my cookies working?
Common reasons a cookie isn't being set.

How Can I Fix A Database Connection Error?
Some common problems that can occur when trying to connect to a MySQL database, and give errors.

Why Don't I See My Code When I View Source?
When you view source on your PHP files, why can't you see your code?

Single or Double Quotes?
Should you use single quotes or double quotes in your PHP code?

What to do when localhost doesn't work
What to do when localhost doesn't work in your PHP script

Always send your cookies to a browser before the code
When programming with PHP, and storing information as a "cookie" in a user's browser, always remember: Cookies Before Code

What does a 404 Error Mean?
What does a 404 error mean on a web site?

Moving Your Website
What could go wrong when moving your website, and where to look for a solution.

Why are my calculations off?
Why are my PHP calculations slightly off?

You can opt-out at any time. Please refer to our privacy policy for contact information.

©2014 About.com. All rights reserved.