Hi,
Friends,
I am new for Php please send me the tutorial which one is the best for Php learning

Dani AI

Generated

Brief summary of the thread: asked for beginner PHP resources; , and suggested guides, editors and a local server. The points below add practical, hands‑on details and common gotchas that weren’t covered in those replies.

Save and name files correctly. PHP source must be plain text saved with a .php extension (avoid hidden “.txt” appended by some editors). Prefer UTF‑8 without BOM; a BOM can produce “headers already sent” errors. Use full PHP opening tags (<?php) rather than short tags unless the environment explicitly allows them.

Minimal example (save as index.php):

<?php
echo "Hello, PHP\n";
?>

Quick local testing without installing a full stack. Modern PHP includes a built‑in web server (available since PHP 5.4) for quick experiments. From a terminal inside the project folder run:

php -S localhost:8000

Then request the PHP file through HTTP (for example via ). This ensures PHP runs on the server side rather than the browser showing source.

Common troubleshooting notes. If PHP code appears as plain text in the browser, the file is being opened via the file system (file://) or no PHP interpreter is serving it. Blank pages usually mean errors are suppressed; enable error reporting during development:

ini_set('display_errors', 1);
error_reporting(E_ALL);

Also check file permissions on Unix systems (readable by the server), avoid editing with word processors, and keep line endings/encoding consistent. Build small projects (forms, simple CRUD) and use version control—these practices solidify learning while complementing the resources suggested earlier by , and .

Recommended Answers

All 8 Replies

For "quick learning" you can start here . For php reference guide and detailed php functions description, you can check php.net ( http://www.php.net/manual/en/ )

commented: Thanx very much 4 ur quick reply +1

which software use for php code ...

Software ? you mean the editor ? There are so many. Zend studio is good, but expensive. If you want a free editor, you can use phpeclipse, devphp, notepad++ and so on.

I always use crimson (free), because it supports not only PHP-syntax highlighting, but also a lot of other languages

how to save php file and also how can check in IExplore browser

Upload it to a website that supports PHP.
Or if you want to run it local, install Apache http server and PHP

commented: thanx 4 ur quick reply +1

I don't know what you mean by saving a php file. If you have installed apache, you can type http://localhost/php-file-name to execute your script.

Btw, If you are new to php, I would suggest you to install . Wamp is a bundled package of php, mysql and apache. Just install it and start working !

commented: Good tip on Wamp! +6

Learning PHP
check this link http://www.w3schools.com/php/default.asp, there you can learn php in very much easy way.

PHP Editor
you may use Dreanweaver, notepad or any other editor

PHP Book
if you are comitted to learn php in depth, you have to spend just 30 or 35$ for book name
PHP MySql Web Developement by luke Welling and Thomson, you may search its content table from internet

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.