cvs: qaweb /site_rough editor.php
| From: | Zak Greant | Date: | Tue, 19 Sep 2000 18:46:02 +0000 |
| Subject: | cvs: qaweb /site_rough editor.php | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-1318@lists.php.net to get a copy of this message | ||
zak Tue Sep 19 11:46:02 2000 EDT
Modified files:
/qaweb/site_rough editor.php
Log:
Index: qaweb/site_rough/editor.php
diff -u qaweb/site_rough/editor.php:1.2 qaweb/site_rough/editor.php:1.3
--- qaweb/site_rough/editor.php:1.2 Tue Sep 19 11:41:32 2000
+++ qaweb/site_rough/editor.php Tue Sep 19 11:46:02 2000
@@ -72,6 +72,8 @@
while (list ($id, $title) = @ mysql_fetch_row ($result))
$return .= sprintf ('<option value="%s"%s> -
%s</option>'."\n", $id, $id == $selected_item ? '
SELECTED':'', htmlentities ($title));
+ print mysql_error ();
+
return '<select name="field[id]">' . $return .
'</select>';
}