topical media & game development
professional-ajax-02-XMLHttp-Examples-GetCustomerData.php / php
<?php
header("Content-Type: text/plain");
//customer ID
_GET["id"];
//variable to hold customer info
sDBServer = "your.databaser.server";
sDBUsername = "your_db_username";
sQuery = "Select * from Customers where CustomerId=".oLink = mysql_connect(sDBUsername,sDBName) or sInfo == '') {
if(sQuery) and mysql_num_rows(aValues = mysql_fetch_array(sInfo = aValues['Address']."<br />".
aValues['State']."<br />".
aValues['Phone']."<br />".
"<a href=\"mailto:".$aValues['E-mail']."\">".sInfo = "Customer with ID oLink);
echo
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.