Entry
how do I insert new rows in a table using php and mssql. code example if possible.
May 12th, 2008 21:13
i can do it, John Peterson, Hope Thomas, http://www.acceleratebiz.com
Here's some sample code take from our site at
http://www.silver-turquoise-jewelry.com
$dbc=@mysql_connect ($host, $user, $pass) or
$dbc=@mysql_connect ("$host:/var/lib/mysql/mysql.sock", $user, $pass)
or die ("DB Connection Failed");
mysql_select_db($db,$dbc);
$selectQuery="SELECT a.name, a.description FROM entity a";
$selectResult=mysql_query($selectQuery, $dbc);
$selectRow=mysql_fetch_object($selectResult);
$name = $selectRow->name;
$description = $selectRow->description;
http://www.stupidarticles.com
http://www.halazona.com
http://www.shikapika.com
http://www.stakoza.com
http://www.uploadarticles.com
http://www.ganazat.com
http://www.damima.com
http://www.tarabiza.com
http://www.articlesxarticles.com
http://www.articlesfreedirectory.com