[ic] + Predictive search box

salvador caballe scaballe at gmail.com
Mon Nov 26 09:24:02 UTC 2012


I'm working with the predictive search box,

I found the following example:

http://scriptingmysql.wordpress.com/2011/10/28/using-mysql-perl-and-jquery-to-auto-populate-a-form-field-on-a-web-page/



I tested it with Interchange database and works ok, but I would to use
IC instead a unsecure perl cg, to search and format data ouput.



> # obtain the results
> while ( my $row = $query->fetchrow_hashref ){
> push @query_output, $row;
> }
>
> # close the database connection
> $connect->disconnect();
>
> # print the json output to be returned to the HTML page
> print JSON::to_json(\@query_output);





I'm not a programmer :)


Could a IC/Perl list guru, give me a little help??


best regards
Salvador Caballé



More information about the interchange-users mailing list