Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 906855
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T16:27:21+00:00 2026-05-15T16:27:21+00:00

I wanna start with first program in PHP. I have got installed xampp and

  • 0

I wanna start with first program in PHP. I have got installed xampp and had a look at sample codes. How to start writing my own code to build web pages. Where to start with. Do i have to write a text file as code and open it in explorer like we did it in HTML.Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T16:27:21+00:00Added an answer on May 15, 2026 at 4:27 pm

    You can use almost any text editor you like, but one with syntax highlighting makes things easier. Notepad++ is a handy little editor for Windows, and has syntax highlighting for many different languages, including PHP, HTML, CSS and SQL.

    Have a look at some tutorials – it’s often easier than wading your way through the docs – although the docs are, of course, essential.

    There’s a good step-by-step beginners guide on tizag.com:

    PHP Tutorial – Learn PHP

    Once you’ve mastered the basics, there are plenty more tutorials available. I quite like some of the tutorials on PHPro, but there are many others. Here’s a few PHPro articles to get you started:

    Object Oriented Programming with PHP
    Introduction to PHP Sessions
    Introduction to PHP and MySQL
    Introduction to SimpleXML with PHP
    Parse HTML with PHP and DOM
    Introduction to PHP Regex

    Note: I put the regex tutorial after the SimpleXML tutorial for good reason. If you ever get the urge to parse HTML with regular expressions, just read this. If you are still not sure, read it again. 🙂

    When you get to database stuff (I’m assuming MySQL for the sake of simplicity, but this applies equally to other DBMSs), warm yourself up with a little dynamic SQL and mysql_real_escape_string. Then swiftly move on to mysqli::prepare prepared statements. You will probably save yourself a whole lot of problems if you treat dynamic SQL as a learning exercise, but then move onto prepared statements for everything else.

    Try to become familiar with some of the common PHP security problems, and what can be done to mitigate them.

    It’s a good idea to develop consistent naming standards.

    When you start writing more complex sites, you may want to look into template engines. There’s a degree of disagreement about these, as PHP can be used directly as a template system. However, I’ve had good experiences with Smarty, and find that it helps me to keep the application logic separate from the display code.

    Templating brings me onto frameworks. They take a lot of the grunt work out of writing web sites. There are many available, and everyone will have their own opinion about which is best. So instead of suggesting one, here’s a link to a list of popular ones:

    http://www.phpframeworks.com/

    By the time you get to this stage, you’ll probably find the use of debugger very handy. A good starting point (it works, and it’s free), is a combination of Eclipse with XDebug – but there are other choices.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I wanna check sharepoint title first and see if the lib doesn't have that
I wanna start developing a map-based web site. At first I ordered a regulat
Just got my iPad yesterday and I wanna start programming a distributed game between
Hi When i wanna start a new project, I have enough details to just
I've been programming with PHP for about 6 years, and wanna start developing on
I am beginner and wanna to learn few things before i start php dev/learning
i wanna start writing game for android/ios with my friends and we're looking for
Ok this is a really weird problem. I wanna start off by saying that
i wanna make hotfile account checker inorder to start working ,i want to know
I wanna diplay a Stopwatch timer... using Asp.Net C#... I have looked through many

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.