am i the problem ??

A

Anonymous

Guest
Hi all, it's me again :-(

why does this code not work ???

Code for the furst page.

Code:
<input type=text name="input" size=10>

code for the second page

Code:
$input_test = $input*;
$ query = "select bla from bla where bla = '$input_test';
because when somebody does not know the full name of something they can look for first parts of it.

Could somebody please be so kind and explaine me why this does not work.

Thanks for you're time
Have a nice day
Psycho
 
Hello,

I think your problem is that you should place " arround you statement.

$input_test = "$input*";

Good luck
 
Code:
<input type=text name="input" size=10>

code for the second page

Code:
$input_test = '$_GET[input]';
$ query = "select * from `sometable` REGEXP = '$input_test';
 
Back
Top