Wednesday, July 9, 2014

Connection code in PHP

<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_name = "localhost";
$database_name = "name";
$username_name = "root";
$password = "";
$job = mysql_pconnect($hostname_name, $username_name, $password) or trigger_error(mysql_error(),E_USER_ERROR);
?>

Related Posts:

  • PHP code for Registration <?xml version="1.0"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="cs" lang="cs"> <he… Read More
  • PHP Code To Edit <?xml version="1.0"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="cs" lang="cs"> <he… Read More
  • Connection code in PHP <?php # FileName="Connection_php_mysql.htm" # Type="MYSQL" # HTTP="true" $hostname_name = "localhost"; $database_name = "name"; $username_name = "root"; $password = ""; $job = mysql_pconnect($hostname_name, $username_name… Read More
  • Uses of fonts in php <?php $type='Type1'; $name='Helvetica-Bold'; $desc=array('Ascent'=>718,'Descent'=>-207,'CapHeight'=>718,'Flags'=>32,'FontBBox'=>'[-170 -228 1003 962]','ItalicAngle'=>0,'StemV'=>140); $up=-100; $ut=50;… Read More
  • Insert Code In PHP <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Typ… Read More

0 comments:

Post a Comment