grga Posted April 7, 2007 Share Posted April 7, 2007 Perhaps is my question little stupid but.... I add a row in table, with php code below: ALTER TABLE `my_table` ADD `my_row` VARCHAR( 30 ) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL COMMENT 'my_comment'; how can I print content of COMMENT 'my_comment' on a page with php?? Link to comment https://forums.phpfreaks.com/topic/46032-print-mysql-table-row-commentmy_comment/ Share on other sites More sharing options...
per1os Posted April 8, 2007 Share Posted April 8, 2007 What does this have to do with OOP? $SQL = 'select my_row from my_table'; $query = mysql_query($SQL); while ($row = mysql_fetch_assoc($query)) { print $row['my_row'] . "<br />"; } Link to comment https://forums.phpfreaks.com/topic/46032-print-mysql-table-row-commentmy_comment/#findComment-224206 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.