dear fellows i have a site http://loansandscholarships.tk i want to add a google search box in it.so can any one help me out where to place it(in coding) bcz when i am posting it in the pages with the content in the pages it doesnt appear.is there any special requirement to it.I am new to php and i built this site using templete. Thanks in advance
You can get the google's search box code with your publisher id from your adsense account, copy that code and save it in a php file then using include you can recall the search box in all your pages. I think this is the easy way.
you will have to post the code outside of the PHP code, or else you will probably have problems. Make sure it is not inside of <?php ?>
yep. you should paste the code outside of the <? ?> php code. Are you using google's custom search http://www.google.com/coop/cse/ ?
thanks for thelatest input but still it doesnt work,there is no error shown a small box rather a small rectangle appear but the search box i sstill missing. i m putting it outside the <?php .... ?>
Put code out side php tags like we write html.You can put that search code in some other php and include it in you main php.