finding text in a form field after submission

Im making a forum and i want to put a language filter in it and i forget the code for searching all the text in the submission.

Comments

  • Use the instr function . It returns the starting position of the string you are looking for.
    Syntax is

    res = instr(submissiontext,wordyouwanttofind)

    if res is zero , then the wordyouwanttofind is not in submissiontext

    HTH

    Faustine
    ---------

    : Im making a forum and i want to put a language filter in it and i forget the code for searching all the text in the submission.
    :

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion