Showing posts with label turn. Show all posts
Showing posts with label turn. Show all posts

Sunday, September 4, 2016

PHP Turn multiple input fields selections into a single array

PHP Turn multiple input fields selections into a single array


While trying to design a form so that it takes multiple inputs from text fields and multiselect selection menus, I was facing problem because even though I could handle a fixed number of fields in my script internally, what for multiple selections in a selection list?? The rescuer [] :)
Yes, just use it after the name of you input field, this way.

<select multiple class="input-medium search-query" id="autolist-filter-select" name="filter_str[]">

<input id="autolist-filter-text1" type="text" name="filter_str[]"/> <input id="autolist-filter-text2" type="text" name="filter_str[]"/>


Go to link download

Read more »

Friday, August 12, 2016

Ever wonder why your computer will not turn off

Ever wonder why your computer will not turn off


Microsoft Windows will just hang up and become unresponsive to any commands or clicks.  Ok….no Microsoft jokes please. :-)   When this happens, I have talked to many users over the years who say, “I pressed the power button and the screen goes black but when I press the button again, it goes right back to the same place and my system is still locked up”.  Has this ever happened to you?



There is actually a good explanation for this.  Most computer manufacturers don’t want you to inadvertently press the power button and turn your machine off.  Here is the answer…drum roll please….press in your power button and hold it in for 5-10 seconds and it will power off.

Sure hope this simple fix will help someone out there.

Go to link download

Read more »