mysql-php-logos

how to fetching data in mysql using php

Today we are learn about data fetching in mysql and display data in a web page using php and html. create database in mysql with name “demo_db”. create table in this database with name “demo_tb”. create this three fields/columns in this table. sno# [int (autoincrement)] name [varchar(50)] country [varchar(50)] 4.    insert dummy data in this table.   after completing this steps you create a php … Continue reading how to fetching data in mysql using php

Rate this:

Barcode scanners in PHP applications

PHP can be easily utilized for reading bar codes printed on paper documents. Connecting manual barcode reader to the computer via USB significantly extends usability of PHP (or any other web programming language) into tasks involving document and product management, like finding a book records in the database or listing all bills for a particular customer. Following sections briefly describe process of connecting and using … Continue reading Barcode scanners in PHP applications

Rate this:

How to make PHP and MySQL support Arabic, Urdu and charactersets or other foreign languages

To enable your PHP/MySQL script support Arabic or Urdu or other foreign languages, you need to do the following. In database connection, do the following. $cn=mysql_connect($db_host,$db_user,$db_password) or die(mysql_error()); //Below is an additional line to enable support for foreign languages. mysql_query(“SET NAMES utf8″) ; mysql_select_db($db_name,$cn) or die(mysql_error()); In database, set collation of fields to utf8_general_ci. If you can set collation of databas and tables to utg8_general_ci as … Continue reading How to make PHP and MySQL support Arabic, Urdu and charactersets or other foreign languages

Rate this:

php

PHP 5.6: What’s New

It’s been a long time coming, but we finally have a new version of PHP. With it comes a some nice, new features, improvements to existing features, as well as features that have been removed or marked as deprecated. Let’s dive in and take a look at everything that’s offered by the latest version. Backward Incompatible Changes In this part, I’ll be listing backwards incompatible … Continue reading PHP 5.6: What’s New

Rate this:

10 HTML Tags You May Not Be Using

As a front-end developer you no doubt use HTML constantly and probably feel it doesn’t have any more unknowns. Nevertheless, the way it has evolved (in particular with the advent of HTML5) may surprise you at times. In this article, I’ll show you 10 HTML tags you may not be using or maybe even aren’t yet aware of that help to increase the semantics and … Continue reading 10 HTML Tags You May Not Be Using

Rate this:

12 Greatest Programmers of all Time

A programmer is a person who can create and modify computer programs. No matter what type of programmer one may be, each and every contributes something to the society, no matter how trivial. Yet, there are those few who have contributed beyond what a single programmer usually does in an entire lifetime. These programmers are pioneers in their respective areas and have each contributed something that … Continue reading 12 Greatest Programmers of all Time

Rate this:

Browser Trends September 2014: Chrome Is the Top Mobile Browser

Last month’s browser trends report was all about mobiles. It’s a recurring theme in the latest figures from StatCounter. Worldwide Desktop & Tablet Browser Statistics, July to August 2014 The following table shows browser usage movements during the past month. Browser July August change relative IE (all) 21.36% 20.31% -1.05% -4.90% IE11 9.08% 9.10% +0.02% +0.20% IE10 3.34% 3.05% -0.29% -8.70% IE9 3.30% 3.12% -0.18% … Continue reading Browser Trends September 2014: Chrome Is the Top Mobile Browser

Rate this: