What I really want to do is able to let user to paste or browse list of items into the textarea, then after submitted, all the items will be against database one by one. Finally all retrieved data will be able to display via web's browser.
Now It seems that my query have no problem to read all items submitted from textarea, but it seems to have trouble to display all the retrieved data. My problem seems to occur at belowed code because I can print out all queries one by one on the screen before "if". Howover, only last input item's "title" was displayed when I print one row like $row["title"] within "while".
print $query;
if (isset($result)) {
while ($row = mysql_fetch_row($result))
print $row["title"];
echo("<tr><td> .$row["title"]. "</td><td>". $row["author"]. "</td></tr>");
Something wrong here?