Home
News
Tutorials
Links
Code Snippets
Forums
Logo Text
Header
Code Snippets

Welcome to Techoholics code snippets, here you can find useful bits of code to do useful tasks

Submit Code Snippet

Search:

Tip: Use % to display all results.

Browse Categories:

All

Web Programming

php
html
javascript

Server Design

css
Browse Code Snippets
October 03, 2008
Backwords Page
Just add this code to any web page, or post in forums that accept HTML; it gets a fun reaction
April 04, 2005
php info
Show infomation about you php setup
April 01, 2005
Divs in css
Divs in CSS are probabily one of the most widely used functions of css. This code would make the text in the html div bit have a black border around it and have padding of 5px.
March 30, 2005
Time based Greeting
Will show a different greeting depending on the time, it its before 12 then it will display "Good morning to you", if its between 12 - 18 then it will display "Good afternoon to you", and if 18 - 24 then it will show "Good evening to you"
March 30, 2005
Echo Function
A simple way to show anythink you want with php, the echo function, remember to replace "what you want to show" with the data you want to show.
March 30, 2005
Connect to Mysql Database
This how to connect to Mysql Database, remember to replace "host" with your host (normaly localhost), "username" with your mysql username, "password" with your mysql password and "database name" with your database name.
March 28, 2005
Close window button
Info/Comments goes here
March 28, 2005
Back to previous page
A button that when clicked will go back to the previous page.
March 28, 2005
Reload page button
A simple way to have a button to refresh the page
March 28, 2005
Make This Site Your Home Page
A link to make your site your homepage when clicked. Remember to change "URL of page here" to the url of the page to be made homepage.
March 28, 2005
Time to load page
Shows the time the page took to load
March 28, 2005
Mysql Version
Displays the current mysql version in use
March 28, 2005
System Uptime
Will show the system uptime using the php_w32api.dll functions
March 28, 2005
Display when a page was last modified
Will display when the last time the page was modified.
March 28, 2005
Background Colour
Make the background of a page a different colour, Replace "blue" with colour you want the background to be

First Prev ( Page 1 of 2 ) Next Last