Re: Second Set of Eyes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In message <461e8285.297265ca.158a.2599@xxxxxxxxxxxxx>, David Weeks
<teacherweeks@xxxxxxxxx> writes
>I am getting the following output
> 
> "; //create the query $sql = "SELECT term, defintion FROM tbl_tech_terms
>where term Like %$keyword%;"; $results = mysql_query($sql, $DBconn); print
>""; //get field names print ""; //get row data as an array while ($row =
>mysql_fetch_array($results)){ $Term = $row['term']; $defintion =
>$row['defintion']; } ?> Enter The Search Term:   
>Term    Definition

Sounds like your PHP is not "switched on".  I don't have the original
code now, but do you have "<?" where you should have "<?php" ?

-- 
Pete Clark

Sunny Andalucia
http://www.hotcosta.com/comm_1.htm

[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux