About 2tuts

Author Archive | 2tuts

WordPress: Install MathJax-LaTeX plugin

Step 1: Plugins -> add new Step 2: Search: “MathJax-LaTeX” Step 3: Click “Install now” Step 4: Click “Activate Plugin” to activate that plugin. If your see the error below, you can fix following some steps below. Step a: Plugins -> Editor Step b: select MathJax-LaTex Step c: click “Select” You can see in lines […]

Read full story Comments { 0 }
Twitter Style Blue Button hover

Twitter Style Blue Button hover

Twitter does not have anyone to use the site. Face Book – is next to the Twitter community website. In the United States of America can not run without the Twitter website as saying so that Twitter has become their life. Celebrities on Twitter is often higher than the Face book. Pop singers and politicians, […]

Read full story Comments { 0 }
Transform Transition menu

Transform Transition menu

HTML is the most used Internet application. html and can not do anything alone. then joined with the CSS program will only add to the beauty. Web pages can be easily designed with CSS taxes. Palakuvatarku CSS programs are all very difficult. Let’s see how to create a menu with CSS column. Using this menu […]

Read full story Comments { 0 }
Text Shadow In 3D Effect

Text Shadow In 3D Effect

Hello Friends Today we are discuss Text-Shadow With CSS.this Word Firefox,safari,Chrome and Internet explorer Is Not Working . The CSS 2 property text-shadow is supported in Safari since version 3 (also available for Windows), Opera since 9.5, Firefox since 3.1, Google Chrome since version 2, Konqueror and iCab.

Read full story Comments { 0 }
PHP get image path from text

PHP get image path from text

Is it possible to get image path from some text using PHP ? For example, we have a text with such code somewhere inside it This text is stored in DB (as article). How to get image path (in this example it is – http://tutorialspots.com/wp-content/uploads/2013/04/1.png) from text? Of course, text and images varies from article […]

Read full story Comments { 0 }
Simple Poll script with PHP and MySQL

Simple Poll script with PHP and MySQL

This tutorial will demonstrate how to make a basic poll using PHP, and store the results in MySQL DEMO: HERE

Read full story Comments { 0 }
Simple Javascript OOP tutorial

Simple Javascript OOP tutorial

JavaScript Objects An object is a collection of Methods and properties. Javascript has predefined object types such as: Array, Boolean, Date, Function, Image, Number, Object, Option, RegExp, or String it also allows you to create your own user defined objects.

Read full story Comments { 0 }
PHP: Convert Numeric Character Reference to UTF8

PHP: Convert Numeric Character Reference to UTF8

Some functions to convert Numeric Character Reference (NCR) to UTF8: Method 01 Ex: Result: La FenĂȘtre de Soleil Alternative methods: Method 02 Method 03 Ex: result: Peut ĂȘtre Next: PHP: Convert Numeric Character Reference to UTF8 – Part 2

Read full story Comments { 1 }
PHP: Get Current Page URL

PHP: Get Current Page URL

In this tutorial, we’ll learn how to get current web page url from your web browser address bar using PHP script Syntax We use variable $_SERVER in php to get full url from address bar: $_SERVER[‘HTTP_HOST’] – This variable will show only server name. $_SERVER[‘REQUEST_URI’] – This variable will show you the path to file […]

Read full story Comments { 0 }
PHP: Convert Hex Color to RGB, RGB to Hex Color

PHP: Convert Hex Color to RGB, RGB to Hex Color

Example 1: result: Array ( [red] => 0 [green] => 255 [blue] => 103 ) Example 2: result: 0,255,103 Example 3: result: 34,255,102 Example 4: result: Array ( [red] => 34 [green] => 255 [blue] => 102 ) Other function hex2rgb

Read full story Comments { 0 }