donjaime
-
Posts
4 -
Joined
-
Last visited
Never
Posts posted by donjaime
-
-
Use eclipse with the php plugin. Really useful.
-
CORRECTED:
---------------------
[code]
if ($view == loginnews) {
print "<form method=post action=admin.php?view=loginnews&step=add>News: <input type=text name=message> <input type=submit value=Add></form>";
if ($step == Add) {
mysql_fetch_row(mysql_query("SELECT loginmsg FROM messages WHERE message='message';"));
mysql_query("INSERT INTO messages VALUES ('message','$message');");
}
else{ mysql_query("UPDATE messages SET loginmsg=$message WHERE message='message'");}
[/code]
------------------------
You missed a few semi colons and a close bracket
-
I am developing a web application that requires some basic wiki functionality for part of the UI.
I am trying to find a simple wiki renderer or package that can facilitate the following:
Given some Wiki Markup, Wm.
Passing Wm into the Renderer returns valid HTML, free from script injections, unpermitted tags, etc...
I have been trying some open source wikis, but they are uneccessarily bloated and complex, and I am having trouble extracting such a simple renderer from their code bases.
Does anyone have any recommendations that could help me out?
Thanks in advance!
Need simple Wiki Renderer tips
in PHP Coding Help
Posted
Im a Java and .Net developer and this is my first significant PHP application. Im not terribly familiar with the available packages :).