Exemplo n.º 1
0
<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>        
    </head>
    <body>
        <?php 
include_once './functions/dbconnect.php';
include_once './functions/dbData.php';
/*$results = getAllTestData();*/
$column = 'datatwo';
$search = 'test';
$results = searchTest($search, $column);
?>
        
        
        <table border="1">
            <thead>
                <tr>
                    <th>ID</th>
                    <th>Data One</th>
                    <th>Data Two</th>
                    <th></th>
                    <th></th>
                </tr>
            </thead>
            <tbody>
            <?php 
foreach ($results as $row) {
    ?>
Exemplo n.º 2
0
<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>        
    </head>
    <body>
        <?php 
include_once './functions/dbconnect.php';
include_once './functions/dbData.php';
/* $results = getAllTestData(); */
$column = 'datatwo';
$search = 'test';
$results = searchTest($column, $search);
?>
 
        
        
        <table border="1">
            <thead>
                <tr>
                    <th>ID</th>
                    <th>Data One</th>
                    <th>Data Two</th>
                </tr>
            </thead>
            <tbody>
            <?php 
foreach ($results as $row) {
    ?>
                <tr>
Exemplo n.º 3
0
<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>        
    </head>
    <body>
        <?php 
include_once './functions/dbConn.php';
include_once './includes/dbData.php';
//$results = getAllTestData();
$column = 'dataTwo';
$search = 'test';
$results = searchTest('$column', '$search');
?>
        
        
        <table border="1">
            <thead>
                <tr>
                    <th>ID</th>
                    <th>Data One</th>
                    <th>Data Two</th>
                    <th></th>
                    <th></th>
                </tr>
            </thead>
            <tbody>
            <?php 
foreach ($results as $row) {
    ?>