Category Archives: PHP

MYSQL Functions

Hi all, Welcome to MYSQL functions tutorial. MYSQL functions are useful while performing mathematical calculations, string concatenations, sub-strings etc. SQL provides many built in functions to performe these functionality or performing calculations on data. The most commonly used MySQL functions including: Aggregate functions String functions Date time functions control flow functions Aggregate Functions The aggregate… Read More »

Uses of session_id() in PHP

Hi all, In one of the recent web developer interview, one of them are ask to me “what are the uses of session_id() in php and what are the purpose.” Session_id() is one of the inbuilt function in PHP. The session_id() will be used to track existence of same user across all the pages of… Read More »

Category: PHP

Difference between document.ready and window.onload or pageLoad

Hi all, Today we are discuss one important topic related to document.ready and window.onload or pageLoad. $(document).ready() If the DOM is ready, jQuery’s document.ready() method gets called The $(document).ready() function executes when HTML document is loaded and DOM is ready. It is jQuery specific event It is cross browser compactibility It’sthe best for onetime initialization.… Read More »

Concatenate two variables or strings – PHP

Hi Friends, The DOT(.) operator is used to concatenate two variable or string in PHP. The ‘.’ operator which returns the concatenation of its right and left string. eg: And also ‘.=’ operator used append the arguments on the right side to the left side arguments. eg: Example 1 Example 2 COMMA is not concatenating… Read More »

Reverse a string without built in functions – PHP

Hi all, Here I share one useful topic related to reverse a string without using inbuilt function. Reverse a string in PHP is very simple and easy understand. Also PHP provides inbuilt function to reverse a string. The ‘strrev()’ function helps to reverse the string in PHP. Eg: <?php echo strrev(“Helllo World”); ?> OUTPUT dlroW… Read More »

Multiselect Option – HTML

Hi all, We can implement multiselect option in pure HTMl using ‘multiple=”multiple” ‘ in select tag. This process or operations mainly used in web application like job site( skills,area, prefer work location etc), organization site etc. We can select multiple values from the menu. we can implement this by jquery plugins and css. Here I… Read More »