About Me

My photo
Nadiad, Gujarat, India
Hi Friends I am Vipul Soni, an Innovative web Designer & Developer with Excellent skills who thrives on challenges and is passionate for all areas of web Design & Development.

Monday, 31 January 2011

php tricks: connect to database & retrive data from database

Here is th code : use it in the .php file

<?php
mysql_connect("localhost","root","");
mysql_select_db("mydatabase");
$qry=mysql_query("select * from table");

while($rs=mysql_fetch_row($qry)) //loop untill find numbers of records from table
{
echo "$rs[0]"; //Retrive first field data
echo "$rs[1]"; //Retrive second field data
echo "<br />"
}
?>

Vipul Soni

SEO Design Tactics: Before You Write Even a Line of Code | Webdesigntuts+

SEO Design Tactics: Before You Write Even a Line of Code | Webdesigntuts+

Vipul Soni

Liquid layouts the easy way | Max Design

Liquid layouts the easy way | Max Design







Vipul Soni

Opacity Settings For Transparent Web Page Elements (div, p, table,etc..) CSS

Opacity Settings For Transparent Web Page Elements (div, p, table,etc..) CSS





Vipul Soni

Add Some Animated Sparkle to Your Text – Basix | Activetuts+

Add Some Animated Sparkle to Your Text – Basix | Activetuts+



Vipul Soni

Sunday, 30 January 2011

Activetuts+ | Flash, Flex and ActionScript tutorials from beginner to advanced. - Part 3

Activetuts+ | Flash, Flex and ActionScript tutorials from beginner to advanced. - Part 3



Vipul Soni

How To Disable Back Button of Web Browser

Step:- Use following script in Head Section


<script type = "text/javascript" >
function disableBackButton()
{
window.history.forward();
}
setTimeout("disableBackButton()", 0);
</script>



Step 2:- Now you can use it on the in website .
just use this code as below in <body> tag

<body onload="disableBackButton()">

Free Premium PSD High Resolution Downloads, Icons, Wallpapers, Signs, Abstract Graphics, Vector Graphics, Buttons, Backgrounds, Templates, Graphics and much more...

Free Premium PSD High Resolution Downloads, Icons, Wallpapers, Signs, Abstract Graphics, Vector Graphics, Buttons, Backgrounds, Templates, Graphics and much more...



Vipul Soni
There was an error in this gadget