Showing posts with label Examples. Show all posts
Showing posts with label Examples. Show all posts

Code for moving particular area of the page

Code for moving particular area of the page is mainly useful when the web pages are lengthy and also for easily moving to top of the page from bottom of the same page. It's simple one line code with anchor tag and id.

Meanwhile, if you want to navigate to particular area of the same page than the anchor tag will be,<a href="#cf" >  and,
if you want to navigate to particular area of some other page than the anchor tag will be, <a href="onlinewebprt.html#cf" > , but condition is that particular are should be kept in id tag which is mentioned in the anchor tag. As here i mentioned id as cf so particular content will be in


<div id="cf">
 <p>----------------------</p> </div>


Displaying current date in textbox at page on load

Displaying current date in textbox at page on load is very with a single function, I checked this function by putting the script in between head tags but i didn't work, Then again i put in the body section then it working perfectly.
This function reads current system time of our PC. But i am not fully satisfy with this code i want to be with global internet date. Mean while the code is as follows , hope it will helpful you guys.

Example for pagination in Php

                   As I already mentioned the code in my topics called Codings. For more details about paginations visit Source code for paginations in Php in this Blog. Mean while here I am introducing an Example for pagination in Php with a small topic taken from my past project page. Change the table name, no. of pages display for each page, database connection name and so on…

                   Hence here is your code for pagination in Php with example i.e. is as follows written in two steps:-

Example for contact in Php

                    As I already mention the source code in a categorie called Codings, Here I am displaying the entire page that how it looks like in coding page who not understand there meanwhile you simply copy the code and paste in your page and make changes where I am written text as "YOUR COMPANY NAME","MAILID" and so on. I have confident you guys definitely understood and the source code as follows copy and paste presented below two steps-

Step1:-

Example for checkbox with commands INSERT and UPDATE in Php

                    Single page project related to checkbox with commands INSERT and UPDATE.

                   Actually this page was taken from my already done a top SCHOOL management project. The basic idea behind this is as follows:-

1. Storing all the data in a remote server not in local server means maintaining the data in an online database so that admin can use the data from anywhere from his location.