I have php questions..please give me some ideas...
1. how can I destroy php session if the browser is close?
2. if i have textboxes and it contains data from the database. how can i destroy or expire the data the moment i press back in the browser.
3. in a textbox, when i have used the text box type some numbers and letters on it. If I have finished processing it, the next time i enter another entry, a drop down with my previous inputs will appear...how do i remove it (except pressing delete) to remove it permanently.
4. How to do this:
$string='HELLO';
I wanted to output only HEL and remove the remaining letters.