Get your own customer support community

Recent activity

Subscribe to this feed
  • question

    swetha123 asked a question in Magic Toolbox on December 06, 2008 07:36:

    swetha123
    Is it possible with this magic tool to zoom the images taken from the database
    hello,

    Iam new to this tool

    I need to show the images from database into my site when user hover on the images then they should get zoom
    Is it possible with this magic tool to zoom the images taken from the database

    if so please tell me how

    here is the sample code

    <html>
    <head>

    <link href="MagicZoom.css" rel="stylesheet" type="text/css" />

    </head>

    <?php function connect()
    {
    $dbhost='aaaa';
    $dbuser='aaaa';
    $dbpass='aaaa';
    $conn= mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error connecting to mysql'.mysql_error());
    $dbname='aaaa';
    mysql_select_db($dbname);
    return $conn;
    }
    ?>
    <body>

    <?php $c=connect();
    $query2="select style from styles";
    $sql=mysql_query($query2);
    $result2=mysql_num_rows($sql); //25
    $query="select path from styles limit $eu,$limit"; //0 to 6
    $result=mysql_query($query);
    echo '<table border="1" align="center" width="55%" height="60%" BORDERCOLOR="#C6C6C6"?>';
    for($r=1;$r<=3;$r++)
    {
    echo '<tr>';
    for($d=1;$d<=3;$d++)
    {
    $obj=mysql_fetch_object($result);
    $imageSrc=$obj->path;
    $homage="/images/".$obj->path;
    echo '<td class="dual_size"></td>';

    }
    echo '</tr>';
    }
    echo'';
    ?>
    </body>
    </html>

    thanks in advance