Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how to include only post variable from another file php

<?php
if(isset($_POST['submit']))
{
    $my_cat=$_POST['category'];
    include('db_store.php');
    echo "SELECT * FROM tabl_name where category_id='".$my_cat."';
}
?>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #include #post #variable #file #php
ADD COMMENT
Topic
Name
6+8 =