Hi,
Now we will apply our css to this ul
Full code of the vertical menu with css is as, just copy and paste it, and modify links and its over.
Hi,
Hi friends,
We always require some kind of login box for any system which has members.
Hi,
Here you will find lots of useful and ready to use free php scripts and codes in php, css, ajax, javascript and many more.....
keep visiting this blog.
Whenever you are working on a project you might need to create a database connection and select a database.
While working on a project you might need a dynamic select box to be generated from the values present in the database.
So this example gives you a simple way to populate a select box with the values present in the database.
Consider a example - there is a table "article" in your database "mydb"
So for this first we need to create a connection with the database and we need to select the database.
For this we will create a file called "connect.php"
replace the values with your actual values as per directed in code
After that we will write our main code in a file called "myselect.php"
And its over. Its very simple.
Try it out, if you face any problem then comment here, i will help you.
Show a-z links on a page for pagination
You can replace $PHP_SELF with the filename for which you want to generate this pagination.
Ofcourse this code doesnt shows the logic to display actually pagination, but instead of taking characters from a-z in a array this is the simple way to show a-z characters for processing.
Soon even i will publish the code to do actual pagination.
[Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in]