Login   Register  
PHP Classes

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of german gomez bajo  >  HTML form generator and submit  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: example that shows a usage to add some comments into a page
Class: HTML form generator and submit
Generate HTML forms from a specification string
Author: By
Last change:
Date: 4 years ago
Size: 979 bytes


Class file image Download
$form=new Form;
    if (isset(
/*show comments*/
$file file_get_contents("storage.txt");
$exp explode("\n"$file);
    for (
$i 0$i count($exp); $i++) {
$exp2 explode(";"$exp[count($exp)-$i]);
        for (
$x 0$x count($exp2); $x++) {
//print $exp2[$x]."\n";
$exp3 explode(":"$exp2[$x]);
            if (
$exp3[0] == "url")
                if (
$exp3[1] != $_SERVER['REQUEST_URI'])
"<strong>".$exp3[0]."</strong><br />\n";
str_replace("+"" "$exp3[1])."<br />\n";