GetSimple Support Forum

Full Version: Insert PHP Code
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

i just download exex-PHP ... But when i call this:

include 'test.php';

It doesnt work becaus it was changed to <-- and -->

include 'test.php';

How can i do an include?

Another example:

mysql_connect("localhost","root","") or die
    ("ERROR - keine Verbindung moeglich!");
mysql_select_db("cdcol")or die
    ("Die DB existiert nicht!");

$sql = mysql_query("SELECT * FROM `phpgen_users` LIMIT 0, 30 ");

echo "<table border = \"1\">";
while($row = mysql_fetch_object($sql))
  echo "<tr>";
  echo "<td>",$row->user_name,"</td>";
  echo "<td>",$row->user_password,"</td>";
  echo "</tr>";
echo "</table>";

no short tags, try long tags!



short tags always bring problems (or nearly always...)
exec-PHP is buggy, it breaks quite a few things, namely all content filters.
I have never found it to properly work, and have resorted to using components and dynpages plugin.