Re: eval()



What is in the 'info' column of the database? If it isn't PHP code you
are trying to execute, then you shouldn't be using eval(). If it just
data you are trying to display, you probably want something like this:

$p2ring3 =mysql_query("SELECT * FROM info where id_link='$id'");
while($rida125 = mysql_fetch_array($p2ring3)) {
?>

<table border=1 width=100%>
<tr>
<td>
<?php echo $rid125['info']; ?>
</td>
</tr>
</table>

<?php
}
?>

.



Relevant Pages

  • Re: How to set up an automatic archive of city council committees public notices
    ... The public notices are formatted in microsoft word .doc ... > web site at http://cityofboston.gov ... Store all your notices in binary form in a database, ... Find someone to throw you a bit of PHP code together that presents a web ...
    (comp.os.linux.misc)
  • Re: how to search keywords in all directories
    ... Thanks for your response. ... so I don't warry at weekend to read a lots of programs at home. ... lots of .php code and Database tables. ...
    (freebsd-questions)
  • Re: Write custom code or use a mysql php code generator?
    ... I am developing a web application that uses a mysql database on the backend. ... I am now exploring different options for writing the php code that will ... I tried a few code generators when i first started out, ...
    (alt.php)
  • Re: PHP Dynamic Database Code
    ... database schema, and an EXPORT function which creates two files per table - ... I recently wrote some PHP classes that I think might be of interest to ... generate PHP code based on database table structure. ... A perl script named 'gendb' that reads the config file, ...
    (comp.lang.php)
  • Re: Looking for example of a linked list navigation tree
    ... Relyea* wrote: ... The PHP code reads and displays the ... > database information, but the database is where the relationships are ... > parent-child relationship is already inherently established. ...
    (alt.php)