Page 52 of 56

How To Set And Get Cookies Using PHP

Last updated on November 23rd, 2022 at 07:54 amHere is a simple code that explains how a cookie is set and retrieved using php. A cookie is set with the following code: setcookie(name, value, expiration) The above code sets a cookie named “MyVisit” in the visitors browser. The cookie sets the value to the current […]

How to change background color using php

Last updated on November 23rd, 2022 at 01:43 pmThis is a very simple script which will dynamically change the background color of a webpage using php .Just copy and paste the script below. In case if you missed it, we also have a script using Javascript that changes background color of a webpage. Check out the Demo

How to create simple dropdown menu using CSS

Last updated on November 11th, 2022 at 12:37 pmIn this tutorial we are going to focus on creating a dropdown menu for your website without much complexity. Just using basic HTML attributes along with some CSS to style the menu. All we have to implement is the dropdown logic using CSS display:block . Check it […]

How to post data to another page using PHP

Last updated on February 8th, 2022 at 07:10 pmPHP Post Data To Another Webpage Using PHP and cURL We are using PHP with the help of CURL to post data to another webpage. In order to do this you should be knowing the URL to which you should post the request, The fields used in […]

« Older posts Newer posts »