There are three main types of query you are likely to need to execute on your mySQL database from within your PHP scripts:
All of these queries can be executed using the mysql_query() function. The function will return false if the query fails for some reason, and true if it succeeds. In the case of a select query, the mysql_query() function will return a resource identifier if it succeeds which can then be used to access the data returned by the query. In any case, a resource identifier evalutes to "true" in PHP so a true return value will always indicate a successful query.
all rights reseverd by Cramerz.com©. web development by
web design company
DotPeak. hosting by HostBay
all contents on cramerz are the property of Cramerz.com. web design courses