Category: PHP Tutorials

How to export specific columns in mysql?

This was the question asked by many programmers lately to me!. That’s why I’m writing this post now!

It’s not hard as you think if you’re using PhpMyAdmin by the way I don’t have hope in SQLBuddy 🙂

 

1. …

How to create database and Tables in MySQL

Are you a PHP Programmer?. New Learner?. Then this is the correct place to learn about PHP and MySQL things.

In this post, I’m going to explain how to create a Database and Tables respectively.

1. Most of us are …

How to connect to the mysql database in php?

How to connect to the mysql database in php?

This question is often asked by the new PHP Developer who is trying to learn PHP themselves.

Here’s the syntax:

<?php

//connect to the db
$mysqli = new mysqli("hostname","db_username","db_password","db_name");

// Check connection
if ($mysqli->connect_errno) {
  echo "Failed to connect: " 
Theme: Overlay by Kaira
Agurchand