connection in php

Ads
 

connection in php

<?php
include("include/db.php");
?> 

<html>
<head>
<title>Mann Jewellary</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<link rel="stylesheet" href="styles\style.css" media="all"  type="text/css"/>
<body>
   <div class="main_wrapper">

   <div class="header_wrapper">
 <img src="images/final.jpg" alt="auto" title="" border="0" style="float:left"/>  
  </div>

  <div id="navbar">

      <ul id="menu">
             <li><a href=" ">HOME</a></li>
              <li><a href=" ">All Prodects</a></li>
               <li><a href=" ">MY Account</a></li>
                <li><a href=" ">Cart</a></li>
                 <li><a href=" ">Contect Us</a></li> 

      </ul>

  <div>
      <form method="get" action="result.php" enctype="multipart/form-data">
      <input type="text" name="user_qury" placeholder="Search a Prodect"/>
      <input type="submit" name="Search" value="search"/>
     </form>  


  </div>

  </div>

  <div class="content_wrapper">
    <div id="left_content">
        <div id="side_bar">categories</div>

     <ul id="cate">
             <?php
              $get_cate="select * from categories";
               $run_cate= mysql_query($con ,$); 
            while ($row_cate=mysql_fetch_array(run_cate))
              {
              $cat_id= $row_cate('cat_id');
              $cat_title= $row_cate('cat_title');

              echo "<li><a href='index.php?cat=$cat_id'>cat_title</a></li>";
              }
              ?>
      </ul>

</div>

  <div id="right_content"></div>



</div>
</body>
</html>
View Answers

Ads









Related Tutorials/Questions & Answers:
connection in php
connection in php  <?php include("include/db.php"); ?> <html> <head> <title>Mann Jewellary</title> <meta http...;categories</div> <ul id="cate"> <?php
connection in php
connection in php  <?php include("include/db.php"); ?> <html> <head> <title>Mann Jewellary</title> <meta http...;categories</div> <ul id="cate"> <?php
Advertisements
connection in php
connection in php  <?php include("include/db.php"); ?> <html> <head> <title>Mann Jewellary</title> <meta http...;categories</div> <ul id="cate"> <?php
ftp connection error php
ftp connection error php  Getting a ftp connection error in php
connection of php to MySQL.
connection of php to MySQL.  I have a query on connection of php... of MySQL) for Database I have a page admin.php <?php if (isset($_POST...; </form> <?php echo $newrecord ?> </html>
PHP SQL close connection
PHP SQL close connection       PHP SQL close connection is used to close a connection between the PHP... 'PHP SQL close Connection'. To understand and grasp the example we include
PHP Mysql Database Connection
PHP Mysql Database Connection       PHP Mysql Database Connection is used to build a connection... The Tutorial illustrate an example from PHP Mysql Database Connection
PHP SQL Connection
PHP SQL Connection       PHP SQL Connection is used to access and return the records from PHP... database in the PHP server side scripts. The variable Connection accept
Todd oracle DB connection through PHP
Todd oracle DB connection through PHP  Can u please explain how to connect Todd oracle DB using PHP & What are the setups we need to perform? Thanks
connection
connection   how to make multiple database connection using jdbc
connection
the connection with the available port on the host machine: import java.net.... the connection was not established. Predict the output of the preceding code. Explain why the connection cannot be established
SQL PHP Where
SQL PHP Where       SQL PHP Where is used to built the connection between the SQL and PHP. The PHP sever side script is used to retrieve the records that meet
php
php   what is php   PHP Tutorials
php
php  what is php
SQL PHP
SQL PHP       PHP is a server side scripting language. To access the data in PHP,you must create a connection to the database. The PHP server side script
php
php using javasript  how to set timer in php using javasript
php
php  i want to know about php and php plateform required software to make php program and database that used in php program?   Please visit the following link: PHP database
php
php  i want to know about php and php plateform required software to make php program and database that used in php program?   Please visit the following link: PHP database
php
php  show the constructor overloading in php
PHP
PHP  How to work in drupal with PHP
php
php  what is php   PHP is one of the most used open source server-side scripting language, which runs on almost all the platform. PHP... and Solaris. To know more about PHP, Visit Here
php
php  how to write a program in php to create pdf file
php
php  plz tell me code for PHP SQL Insert,delete,update,view is used to insert the record from HTML page to Mysql database using in single PHP form
php
php  retrieve data from mysql in php   Please visit the following links: http://www.roseindia.net/sql/mysql-table/mysql-php-select.shtml http://www.roseindia.net/sql/mysql-example/select-where.shtml
php
php  how to set email remainder in php?can you help me pls
PHP
PHP  I want to create Calendar Event in PHP. Could u help me
php
php  How to catch a image and link click counters using Ajax php can any one help me
PHP
PHP  How to check whether a username exists on a website using php and cURL and not MySQL
PHP SQL ODBC
PHP SQL ODBC       This example illustrates how to create an ODBC Connection for php application. Follow the given steps to create an ODBC connection to a MS Access Database: 
php
Write a simple PHP program that display the days of week as per the system date using switch case statement.  Write a simple PHP program that display the days of week as per the system date using switch case statement
PHP
PHP  I would love to do PHP project with the title of "Hospital Management System". I want to know how to make validation using jquery

Ads