problem about function concat
Posted: Mon Sep 21, 2009 6:02 am
<form action="reply.php" method="post">
<textarea name="reply" rows=7 cols=60></textarea><br>
<input type=submit name="submit" value="ok"/>
</form><p>
<?php
include("conn.php");
$sql="update msg set msgs=concat(msgs,".$_POST[reply].") where id=$num";
$query=mysql_query($sql);
?>
i dont know how to write concat()
something wrong with $_POST[reply]
help me, plz.thank u!
<textarea name="reply" rows=7 cols=60></textarea><br>
<input type=submit name="submit" value="ok"/>
</form><p>
<?php
include("conn.php");
$sql="update msg set msgs=concat(msgs,".$_POST[reply].") where id=$num";
$query=mysql_query($sql);
?>
i dont know how to write concat()
something wrong with $_POST[reply]
help me, plz.thank u!