Jump to content

donjaime

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Posts posted by donjaime

  1. 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

  2. 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!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.