DML functions
Posted: 2013-01-22 06:48
Like sqlvalue function, which function shall i use for search, insert and update in the table (please share samples if you can) ?
A place where AppGini users can exchange ideas and help each other.
https://forums.appgini.com:443/phpbb/
https://forums.appgini.com:443/phpbb/viewtopic.php?f=8&t=103
Code: Select all
sql("update table `customers` set phone='123456789' where customerID=22", $eo);
Code: Select all
$records = sql("select * from `customers` where state='NY' order by customerID", $eo);
while($customer = mysql_fetch_assoc($records)){
echo "{$customer['firstName']} {$customer['lastName']} <br/>";
}