Quantcast
Channel: PHP
Browsing index pages (6 articles)

Find Largest number among 3 numbers using switch case

Those who wish to learn basics of switch case can view this link or skim it, if you have good knowledge in switch statements. I have already discussed Larger number between two numbers and the largest...

View Article


Sample code of php , mysql connection

create table `smf_test(id int(8),name varchar(50),age int(2));   <?php/* Connect to the Database */$conn=mysql_connect("localhost","username","password");  if(!conn){echo'db linread more

View Article


How to convert Dot Net ASP code to PHP

Hello Santoshread more

View Article

How to display php code , rather than execute

htmlentities --  Convert all applicable characters to HTML entitiesFirst Example<?phpread more

View Article

How to create password dynamically

function generatePassword($len='8'){$randpass=array('a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z','A','B','C','D'read more

View Article


How to start project in php for beginners

Major frameworks belongs to MVC architecture only. MVC is very easy and simple to implement. MVC means Model view Controllerread more

View Article
Browsing index pages (6 articles)


Latest Images