Signup as a Tutor

As a tutor you can connect with more than a million students and grow your network.

PHP

PHP

Trending Questions and Lessons

Follow 14,585 Followers

Ask a Question

Feed

All

All

Lessons

Discussion

Lesson Posted on 03 Jan IT Courses/Programming Languages/PHP /Php MySQL

How To Connect To Server Using PHP?

Dongri Mohammed Jawad

I am always interested in Programming. I used to apply all my learning skills in a real time. Basically,...

It is very easy to connect to server using PHP and MYSQL. PHP is a very friendly Programming Language that any one can learn who know the basics of the Front End Development. PHP is a programming Language which execute the piece of code only in a server. To run the PHP code, there are some Local Server... read more

It is very easy to connect to server using PHP and MYSQL.

PHP is a very friendly Programming Language that any one can learn who know the basics of the Front End Development. PHP is a programming Language which execute the piece of code only in a server.

To run the PHP code, there are some Local Server control Panel are there like XAMPP, WAMP, YAMP, etc.

Here we are going to use XAMPP. XAMPP is one of the best control panel among the others like wise the PHP among the Others.

Connecting to Server :

In Php, there is a predefined function which helps the user to get connect to the server. mysqli_connect();

The parameters of this Predefined Function are:

  • Local host or 127.0.0.1 This is a IP Address of the Server. It is unique for different users. We have to keep it secure.
  • Root -> "root" is the default username in XAMPP, while you are executing in the server you have to create the username and Password.
  • ' ' -> The password for the XAMPP to connect to server is NULL

So lets begin the Code.

read less
Comments
Dislike Bookmark

Answered on 14/12/2017 IT Courses/Programming Languages/PHP

Between C++, Java, PHP and Python, which is the best language for back-end web development? I want a... read more
Between C++, Java, PHP and Python, which is the best language for back-end web development? I want a fast, secure and reliable web app. I am torn. read less

Mudassir Mahadik

PHP
Answers 3 Comments
Dislike Bookmark

Looking for PHP Classes

Find best PHP Classes in your locality on UrbanPro.

FIND NOW

Answered on 03/11/2017 IT Courses/Programming Languages/PHP

How do I insert values to database from 3 dropdown lists in a single insert query on the click of a button... read more
How do I insert values to database from 3 dropdown lists in a single insert query on the click of a button using PHP and MySQL? read less

Clevigour Solutions

Hi Abinaya You can insert data using single Insert query. You need to take 3 variables and get the value of each drop down using $_POST into the variable then use three variables in insert query. Thanks for more you can contact us.
Answers 2 Comments
Dislike Bookmark

Answered on 13/10/2017 IT Courses/Programming Languages/PHP

What things should I know about PHP to create a login page for my classmate and help them store their test results?

Vineet Verma

Trainer

For login page please follow/research on these points. Login HTML and Form -> PHP script to extract post data -> PHP - DB connection -> Validate logins -> If validated create sessions -> After creating session store/CRUD records in DB (MySQL)
Answers 3 Comments
Dislike Bookmark

Answered on 28/12/2017 IT Courses/Programming Languages/PHP

Is it possible to use PHP to open a PDF file and display only the first x pages?

Dongri Mohammed Jawad

Web Developing

PHP is very easy and friendly language that anyone can learn with a basic knowledge of HTML, CSS, JS
Answers 1 Comments
Dislike Bookmark

Looking for PHP Classes

Find best PHP Classes in your locality on UrbanPro.

FIND NOW

Answered on 10/12/2017 IT Courses/Programming Languages/PHP

Is it possible to interlink a store that was developed using JavaScript with a website that was developed using PHP?

Anup

Web Trainer

Yes it's possible, create web services using PHP with response format JSON. You can manage Session localStorage if you want to go with core javascript HTML CSS for front end.
Answers 2 Comments
Dislike Bookmark

Answered on 14/12/2017 IT Courses/Programming Languages/PHP

Which is the best language to use for a desktop application for storing data in a database - Java or PHP?

Mudassir Mahadik

PHP is best because you will run your web server on same machine
Answers 2 Comments
Dislike Bookmark

Answered on 06 Jan IT Courses/Programming Languages/PHP

I need some fairly simple paying PHP jobs done on a project, where should I go to find programmers for this online?

Gs Mehtab

Software And Web Development Expert

You can find the programmers on upwork and people per hour. I am also a programmer in php. You can also share with me your project.
Answers 1 Comments
Dislike Bookmark

Looking for PHP Classes

Find best PHP Classes in your locality on UrbanPro.

FIND NOW

Answered on 14/12/2017 IT Courses/Programming Languages/PHP

What are the problems faced while migrating from PHP 5.3 to 5.6?

Mudassir Mahadik

No issue but some function have changed their syntax little bit
Answers 2 Comments
Dislike Bookmark

About UrbanPro

UrbanPro.com helps you to connect with the best PHP Classes in India. Post Your Requirement today and get connected.

Overview

Questions 443

Lessons 34

Total Shares  

Top Contributors

Connect with Expert Tutors & Institutes for PHP

x

Ask a Question

Please enter your Question

Please select a Tag