Friday, January 18, 2013

How To Bind DropDown In PHP


<select name="selbrand">
<option value="">All Brand</option>
<?php
$select="car";
if (isset ($select)&&$select!=""){
                $select=$_POST ['NEW'];
            }
                $list=mysql_query("select distinct BrandCategory from cardetail") or die(mysql_error());
            while($row_list=mysql_fetch_assoc($list)){
                ?>
                    <option  value="<?php echo $row_list['BrandCategory']; ?>"<?php if($row_list['BrandCategory']==$select){ echo "selected"; } ?>>
                                         <?php echo $row_list['BrandCategory'];
$abc="selected";
?>
                    </option>
                <?php
                }
                ?>
</select>

Monday, January 7, 2013

How To Incrise MySql datbase Size For Import Purpose

Left Click Om wampserver--->php--->open PHP.INI
THEN SET FOLLOWING PARAMETER.

memory_limit = 700M
post_max_size = 700M
upload_max_filesize = 800M