why does this doesn't show the text ( with 70 characters ?),
when i view it on a browser, i see the name (author) , but not the text!
PHP Code:
<?php
mysql_select_db("articles");
$view = mysql_query(
"select left(text, 70), date, name from ich ORDER BY ID DESC LIMIT 1");
while ($row = mysql_fetch_array($view)) {
$datext = $row["text"];
$daname = $row["name"];
$dadate = $row["date"];
echo( "<p><font face='Courier New, Courier, mono' size='2'><b><font color='#000066'>Author</font></b><font color='#999999'>:</font><font color='#000000'><b>
<font color='#3300FF'>$daname</font></b></font></font>
</p>
$datext
"
);
What's the problem ?, in fact, can i use Left(text, 70), ......
with mysql_query and with php ?
Brian
Bookmarks