Execute("SELECT * FROM ent_humor WHERE id=$roll"); $joke=$res->fields; if($joke[catagory] == "Quotes" || $joke[catagory] == "Jokes") { $jokes = str_replace("\n", '
', $joke[content]); // Replace returns for
} ?> Random Quote