User Profile

Collapse

Profile Sidebar

Collapse
lasc
lasc
Last Activity: Nov 15 '06, 08:52 AM
Joined: Nov 15 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • lasc
    replied to Matching entries in flat file db to form input
    in PHP
    i think you need smth like this
    [PHP]/* Get the form contents */
    $article = stripslashes($_ POST[ "article" ]);
    $wordlist=file( "wordlist.t xt" )
    $fixedarticle=' ';
    foreach ( $wordlist as $word ) {
    if( $word==$article ) $fixedarticle. = '<strong>'. $word . '</strong><br />';
    else
    $fixedarticle = . $word .'<br />' ;
    }

    echo...
    See more | Go to post

    Leave a comment:


  • lasc
    replied to Include and Values
    in PHP
    sample like this

    [PHP]
    $a=(int)$_REQUE ST['section_no'];
    include 'aa'.$a.'_sec.p hp';
    [/PHP]
    not work?
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...