Below is the PHP script for returning the result using from and two dates with jquery, using mysql as db. It pulls all the data present in between teh mentioned from and to dates. The jquery UI user datepicker it has functionalities like default date and onload show current date. From to
Author: viveik
How to ini_set in PHP
You can initilize local settings in a php file.You can set values like max_execution_time, default_socket_timeout, memory_limit, mysql.connect_timeout, user_ini.cache_ttl, display_errors and log_errorsit always nice to check the errors in PHP files with error_reporting. Below is the sample script to set ini_set values. If you dont want to set every time in PHP script simply set the […]
How to Show Errors in PHP
Below script is to show errors in PHP, the error_reporting function will show all the error.You have to initialize at the start of PHP tag.
Learn SEO in 15 Minutes – Basic Concepts of SEO
What is meant by SEO? SEO (Search Engine Optimization) is nothing but optimizing web pages of a website or blog. So what happens? Learn SEO in 15 Minutes By using SEO techniques web pages will become more search engine friendly, thus it will appear in top position in search results. How many types of SEO […]
Bonitasoft Groovy Scripts to Get Users Data
Using below Groovy Script code you will get the complete information of a particular user in Bonitasoftt To get Manager Email address in Bonitasoft: ${import org.ow2.bonita.facade.IdentityAPI;import org.ow2.bonita.facade.identity.User;IdentityAPI api = apiAccessor.getIdentityAPI();User user = api.findUserByUserName(processInstance.getStartedBy());User manager1 = api.getUserByUUID(user.getManagerUUID());return manager1.email;} To get Professional Email of a user : ${import org.ow2.bonita.facade.IdentityAPI;import org.ow2.bonita.facade.identity.User;IdentityAPI api = apiAccessor.getIdentityAPI();User user = api.findUserByUserName(processInstance.getStartedBy());User manager1 […]
How to Run a Shell Script as Automatic Start Up Service in Linux Centos
Follow below steps to Create start services at startup automatically in Linux. Run a Shell Script as Automatic Start Up Service 1. Create a Shell Script Serivce named myserviced(anyname is ok) in /etc/init.d dir 2. Add it to chkconfig sudo /sbin/chkconfig –add myserviced 3. To check whether the serivce is sucessfully added in chkconfig sudo […]
Issue with Internet Explorer Browser IE 7, IE 8, IE 9 for CSS and Jquery
Use below meta tags for Issues regarding Intenet Explorer IE with CSS and Jquery
Command to see memory space on Linux in GB
Command to see Memory Space available in GB on Linux df -h How to start restart linux: just enter restart How to start Mysql on Centos Linux server: /etc/init.d/mysqld start Restart Mysql on Linux Centos: /etc/init.d/mysqld restart Stop Mysql on Linux Centos: /etc/init.d/mysqld stop Check status of Mysql on Linux Centos: /etc/init.d/mysqld status How to […]
How to write anchor link or Script for calling and Ping/IM for Skype
Add “skype:vivekanandch?call” to call, do it as a anchor link to call on skype. similarly to sms/im on skype use ‘skype:vivekanandch?sms’ You can even try by clicking on the below links. Call me on Skype Ping me on Skype See the below Scripts: Call me on Skype Ping me on Skype
Best Free Websites to Learn Jquery
Tuts plus, all the tutorials are of Video Lectures, it has 30 lectures you can learn all the concepts. https://tutsplus.com/course/30-days-to-learn-jquery/ Jquery from Novice to Ninja: http://www.9lessons.info/2009/10/jquery-basics-series-1.html http://www.9lessons.info/2009/11/jquery-basics-series-2.html http://www.9lessons.info/2009/11/jquery-basics-series-3.html Please write in comments section if you know any better websites