Quote Comment field

This commit is contained in:
Marc Delisle
2001-06-05 14:20:12 +00:00
parent 89a96d0dda
commit 09a32b1c1b
3 changed files with 5 additions and 2 deletions

View File

@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
$Id$
$Source$
2001-06-05 Marc Delisle <lem9@users.sourceforge.net>
* tbl_properties, tbl_printview: quote Comment field
2001-06-04 Marc Delisle <lem9@users.sourceforge.net>
* tbl_change, tbl_replace: SaveAsNewRow

View File

@@ -22,7 +22,7 @@ if(MYSQL_MAJOR_VERSION == "3.23")
$row = mysql_fetch_array($result);
if(!empty($row["Comment"]))
{
echo "$strTableComments: $row[Comment]";
echo "$strTableComments: " . $row['Comment'];
}
}

View File

@@ -31,7 +31,7 @@ if(MYSQL_MAJOR_VERSION == "3.23")
<input type="hidden" name="db" value="<?php echo $db;?>">
<input type="hidden" name="table" value="<?php echo $table;?>">
<?php
echo "$strTableComments: <input type='text' name='comment' value='$row[Comment]'><input type='submit' name='submitcomment' value='$strGo'></form>";
echo "$strTableComments: <input type='text' name='comment' value='" . $row['Comment'] . "'><input type='submit' name='submitcomment' value='$strGo'></form>";
//BEGIN - Table Type - 2 May 2001 - Robbat2
if(isset($submittype))