Click here to Skip to main content
15,913,408 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
QuestionStored procedure is needed Pin
Member 1246113225-Mar-19 4:02
Member 1246113225-Mar-19 4:02 
AnswerRe: Stored procedure is needed Pin
Richard MacCutchan25-Mar-19 5:40
mveRichard MacCutchan25-Mar-19 5:40 
QuestionHow to call php divisions by a button click Pin
Member 1417791010-Mar-19 22:54
Member 1417791010-Mar-19 22:54 
QuestionDEVELOPING WEB FORM Pin
Member 1402329817-Oct-18 5:40
Member 1402329817-Oct-18 5:40 
AnswerRe: DEVELOPING WEB FORM Pin
Mycroft Holmes17-Oct-18 12:43
professionalMycroft Holmes17-Oct-18 12:43 
QuestionWhy my field returns boolean instead of object? Pin
Member 1399562824-Sep-18 3:12
Member 1399562824-Sep-18 3:12 
AnswerRe: Why my field returns boolean instead of object? Pin
Graham Breach24-Sep-18 3:48
Graham Breach24-Sep-18 3:48 
GeneralRe: Why my field returns boolean instead of object? Pin
Member 1399562824-Sep-18 3:50
Member 1399562824-Sep-18 3:50 
GeneralRe: Why my field returns boolean instead of object? Pin
Graham Breach24-Sep-18 4:57
Graham Breach24-Sep-18 4:57 
AnswerRe: Why my field returns boolean instead of object? Pin
SiFinances28-Oct-18 0:52
SiFinances28-Oct-18 0:52 
Questionhow to find daily cash book record from two tables with php mysql Pin
Faruk Web10-Aug-18 21:46
Faruk Web10-Aug-18 21:46 
QuestionGet data attribute from an array of select box Pin
Member 85505912-Aug-18 16:23
Member 85505912-Aug-18 16:23 
QuestionHow to allow access to a yii web application for specific users using .htaccess Pin
Member 139352711-Aug-18 23:20
Member 139352711-Aug-18 23:20 
AnswerRe: How to allow access to a yii web application for specific users using .htaccess Pin
Richard MacCutchan2-Aug-18 0:40
mveRichard MacCutchan2-Aug-18 0:40 
AnswerRe: How to allow access to a yii web application for specific users using .htaccess Pin
Richard MacCutchan2-Aug-18 1:31
mveRichard MacCutchan2-Aug-18 1:31 
GeneralRe: How to allow access to a yii web application for specific users using .htaccess Pin
Member 139352712-Aug-18 1:35
Member 139352712-Aug-18 1:35 
GeneralRe: How to allow access to a yii web application for specific users using .htaccess Pin
Richard MacCutchan2-Aug-18 3:49
mveRichard MacCutchan2-Aug-18 3:49 
GeneralRe: How to allow access to a yii web application for specific users using .htaccess Pin
Member 1393527114-Aug-18 1:02
Member 1393527114-Aug-18 1:02 
GeneralRe: How to allow access to a yii web application for specific users using .htaccess Pin
Member 1393527114-Aug-18 1:02
Member 1393527114-Aug-18 1:02 
QuestionHow Can I Start Learning PHP Pin
Andre Hoss3-Jul-18 7:03
Andre Hoss3-Jul-18 7:03 
AnswerRe: How Can I Start Learning PHP Pin
Richard MacCutchan3-Jul-18 8:27
mveRichard MacCutchan3-Jul-18 8:27 
AnswerRe: How Can I Start Learning PHP Pin
Member 1501179923-Dec-20 7:29
Member 1501179923-Dec-20 7:29 
Even if you never seen what PHP looks like, you still don't need to focus on reading books and lenthy know-hows. Once you get to grips with the fundamentals, you don't need board prep either.

At the same time, it would be headlong to dive into the coding process without any prior studying. 
Yep, any coding language is better learnt in practice, yet it's essential to know the basics.

With that being said, start your reserch with the PHP official website. It provides a great and digestible overview which should be enough to grasp the language fundamentals, even if have no programming experience whatsoever.

Once you've hit the grindstone, you're good to head out into the PHP practice.

Now it’s time to write some PHP code.

Basically, you require only 2 things for this: a development environment to run your PHP scripts and a code editor to write the code.

1. Install a local development environment
First of all, you need an interpreter to make sense of your code and run it (since PHP is a scripting language). 

Where do you write code? Development environment. A DE is usually a single program in which all development is done. It usually contains many functions for creating, modifying, compiling, deploying and debugging software. The purpose of the development environment is to abstract the configuration needed to combine the command line utilities into a single module, which will reduce the time to learn the language and increase developer productivity.

IDE
Try each development environment and see which platform you feel most comfortable with:

PHPStorm;
Netbeans;
Aptana Studio;
Eclipse.

Code editors for PHP projects
Sublime Text;
Visual Studio Code;
Atom;
Coda;
jEdit;
Programmer's Notepad;
Komodo Edit.

If you’re not sure which one to go with, try XAMP. It's an easy to install and easy to use Apache distribution containing MySQL, PHP, and Perl. 

2. Install a code editor
A code editor is aт editor for creating and editing program source code. It can be a standalone application or embedded in an integrated development environment (IDE).

3. Start coding
Run your IDE, open a browser and type localhost in the URL bar.

You will see the DE’s homepage. 
Your PHP scripts must be inserted inside a directory aka webserver root.

<pre>Now open your code editor and paste the following PHP code: 

 

<?php

echo '<h1 style="text-align: center;">Hello World!</h1>';

 

Save the file inside the htdocs directory as hello_world.php (you can use any file name you want, just be sure to use the .php extension), then go back to your web browser and open the URL:

http://localhost/hello_world.php

Voila, ready!



Questionphp-mysql Pin
Raja Jee2-Jul-18 18:38
Raja Jee2-Jul-18 18:38 
AnswerRe: php-mysql Pin
Richard MacCutchan2-Jul-18 21:09
mveRichard MacCutchan2-Jul-18 21:09 
Questiontrying to get ipn simulator to work.... Pin
piano001126-Jun-18 1:35
piano001126-Jun-18 1:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.