PHP Classes

File: Examples/Parsing_Example.php

Recommend this page to a friend!
  Classes of Mohammed Yousef   BBEngine   Examples/Parsing_Example.php   Download  
File: Examples/Parsing_Example.php
Role: Example script
Content type: text/plain
Description: Example for Parsing a given BBCode String
Class: BBEngine
Dynamically Extendable BBCode Parser/UnParser
Author: By
Last change: fixed a bug
Date: 15 years ago
Size: 1,031 bytes


Class file image Download
 * This is a some examples about common operations of class
 * In order for Parsing & UnParsing examples to be useful
 * you must import the DB Backup given in DB Stated in your
 * Config file
 * @package Examples
 * @author Mohammed Yousef Bassyouni <>
 * @license GNU Public License
 * Parsing using BBEngine Library
require ("../Config.php");
require (
$qq=new Parser();
//OFcourse <br>'s arenot BBCode but i just put them there for illustration
$str.=":D[url=]My Forum[/url]<br>[]My Email[/email]<br>[img][/img]<br>[size=20]Big [size=40]Big Label[/size] Label[/size]<br>[gvideo]3966673435136338279[/gvideo]";