I have been creating simple index page in which i use one text box and submit button and i use php smarty also..
requirements are:
when i click after entering some text in text box, it should be posted into the another php ("companyinfo.php") ..
for instance, if i enter some company name in text box , it should fetch the corresponding row from the table.. and those records should be displayed in the "companyinfo.php"..
index.php codings are
javascript codings are:
chang_page.js
companyinfo.php coding are
it shows the following error
Notice: Undefined index: search in C:\wamp\www\phpdemo\companyinfo.php on line 8