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

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
php
php   what is php   PHP Tutorials
php
php  what is php
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 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
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  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
connection
connection   how to make multiple database connection using jdbc
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
shortcut method in php like in javscript seletedIndex
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  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 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: 
SQL PHP
; Mysql database. Once the connection is built, PHP server side scripting... SQL PHP       SQL PHP.... The function is used to send a query or command to a MySQL connection. Understand
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 code
. Once the connection is built, PHP server side scripting is used to execute... sql php code       SQL PHP code executes the statement using the mysql_query ( ) function
PHP SQL Die
in the connection between the database and PHP on the server side. The Mysql php die function... PHP SQL Die       PHP SQL Die results when there is a connection failure. The die( ) function prints
php means
php means  php means
Replace String in PHP - PHP
Replace String in PHP  What is the fastest way of replacing string in PHP Code?  Hi Friend, Please visit the following link: http://www.roseindia.net/tutorial/php/phpbasics/PHP-Array-Replace.html Thanks
PHP and JQuery
PHP and JQuery  How to make validation using PHP and JQuery
php session
php session  what is session
PHP Tutorial
PHP Tutorial  Hi, I am new in PHP programming. Can anyone provide me good urls to learn PHP? Thanks   Hi, Start learning PHP at PHP Tutorial section. Thanks
PHP Tutorial
PHP Tutorial  Hi, I am looking for PHP tutorials on roseindia.net. Provide me the urls of PHP tutorials? Thanks   Hi, Here is the links on roseindia.net PHP Tutorial Complete PHP Tutorials Many Free PHP Tutorials
PHP with AJAX
PHP with AJAX  I want to update records of table in database using AJAX PHP MySQL. How can this be done using AJAX.   Please visit the following links: http://www.roseindia.net/php/php-Ajax-DB.shtml http
PHP 5.4.23 Features
handling: There are different states of any connection in PHP application... from normal to aborted and timeout. The connection handling in PHP allows you to handle all such connection status. Apart from the ongoing features, PHP
php programs
php programs  10 programs on varibles
php functions
php functions  hi sir, we give some egs those not produce the results... at the following links: http://www.roseindia.net/tutorial/php/phpfunctions/index.html http://www.roseindia.net/tutorial/php/phpbeginners/php-functions.html PHP
What's PHP ?
What's PHP ?  What's PHP ?   Hi friends, PHP stands... developers to create dynamic content that interacts with databases. PHP is basically used for developing web based software applications. Basic syntax: A PHP

Ads