The primary job of updateRec()is to build an

October 30, 2006 on 9:26 pm | In php |

global $dbConn; $output = ?; //process a query just to get field names$query = SELECT * FROM $tableName ?; $result = mysql_query($query, $dbConn); $output .= <<

HERE; $fieldNum = 0; while ($theField = mysql_fetch_field($result)){ $fieldName = $theField->name; if ($fieldNum == 0){ //it s the primary key field. It ll be autoNumber$output .= <<

HERE; } else if (preg_match( /(.*)ID$/ ?, $fieldName, $match)) { //it s a foreign key reference. Use fieldToList to get//a select object for this field$valList = fieldToList($match[1],$fieldName, 0, name ?); $output .= <<

Hint: If you are looking for high quality and reliable webspace provider to host and run your jsp hosting application check Virtualwebstudio jsp web hosting provider

WordPress database error: [Table './sandzak_com_-_blog/wp_comments' is marked as crashed and should be repaired]
SELECT * FROM wp_comments WHERE comment_post_ID = '510' AND comment_approved = '1' ORDER BY comment_date

No Comments yet

TrackBack URI

Sorry, the comment form is closed at this time.

Powered by cheap hosting

Field Value
$fieldName AUTONUMBER