connection in php

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









Related Tutorials/Questions & Answers:
MySql PHP Connection String - PHP
MySql PHP Connection String  i need a MySql PHP Connection String, is it possible to do pooling in between
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
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
secure php mysql connection
secure php mysql connection  secure php mysql connection script
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... an example from 'PHP SQL close Connection'. To understand and grasp the example
PHP Mysql Database Connection
PHP Mysql Database Connection       PHP Mysql Database Connection is used to build a connection between the PHP on the server-side and Mysql on the backend. Understand
PHP SQL Connection
PHP SQL Connection       PHP SQL Connection is used to access and return the records from PHP... the database connection between PHP and SQL. To understand the example we create a table
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
PHP Connection Handling
Connection Handling: PHP internally maintains a connection status and it has three states: 0 - NORMAL 1 - ABORTED 2 - TIMEOUT PHP... will still consider that a user can have broken the connection, but the PHP script
Connection
Connection  What is Connection
connection
connection   how to make multiple database connection using jdbc
SQL PHP Where
SQL PHP Where       SQL PHP Where is used to built the connection between the SQL and PHP... connection is built, the php query include the Mysql query function
php
php   what is php   PHP Tutorials
php
php  what is php
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
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
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  show the constructor overloading in php
PHP
PHP  How to work in drupal with PHP
PHP
PHP   hii, Define PHP?   Hello,ADS_TO_REPLACE_1 The PHP Hypertext Preprocessor is a programming language that allows web developers to create dynamic content that interacts with databases. PHP is basically used
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 catch a image and link click counters using Ajax php can any one help me
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 check whether a username exists on a website using php and cURL and not MySQL
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
php
can learn php mysql connectivity examples from the given link: PHP Mysql Connectivity
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
shortcut method in php like in javscript seletedIndex
Php Sql ODBC
Php Sql ODBC  This example illustrates how to create a ODBC Connection for php application. With an ODBC connection, you can connect to any database, on any computer in your network, as long as an ODBC connection is available
SQL PHP
table  'stu' in  Mysql database. Once the connection is built, PHP server side... SQL PHP       SQL PHP.... The function is used to send a query or command to a MySQL connection. Understand
php
php  im beginner to php. i faced problem with creating form and data stored into mysql <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <
php
php  im beginner to php. i faced problem with creating form and data stored into mysql <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <
PHP Resource Associates
; connection to database, a file etc. In PHP 4's Zend Engine a reference counting...PHP Resource Type: In PHP, resource is a special type of variable. Main task... manually.ADS_TO_REPLACE_1 PHP Resource Example: <?php $a=mysql_connect("
sql php code
' in Mysql database. Once the connection is built, PHP server side scripting is used... sql php code       SQL PHP code executes the statement using the mysql_query ( ) function
PHP SQL Die
PHP SQL Die       PHP SQL Die results when there is a connection failure. The die( ) function prints..._TO_REPLACE_1 The Tutorial illustrate an example from 'PHP SQL Die'. To understand
Connection pooling
Connection pooling  What is Connection pooling
PHP Property Management - PHP
PHP Property Management  PHP Property Management.. any idea
rotate image in php - PHP
rotate image in php   Function to rotate image in PHP
php means
php means  php means
connection closing
connection closing  hello, what happens if connection is not closed

Ads