Re: [Dave] Search Results String
Thanks,
That worked nicely.
One more thing. I have a search in my header.php which calls this:
<form method="POST" action="search.php" class="searchForm">
<td height="49" valign="top"><input name="name_keyword" type="text" value="" class="field" id="search" /></td>
<td height="49" valign="top"><input name="submit" type="image" value="SUBMIT FORM" src="images/button-go.jpg" border="0"></td>
</form>
I want that the results page should be the link code that we have for each keyword. For example we access each item with this link:
<?php echo $record['link'] ?> from the itemsRecord table. How can I add that the action should pull the keyword's 'link' record.
Also which records do I need to include on top of the header?
<?php
require_once "/services/webpages/a/x/axislighting.com/public/cmsAdmin/lib/viewer_functions.php";
list($itemsRecords, $itemssMetaData) = getRecords(array(
'tableName' => 'items',
'perPage' => '12',
));
list($globalRecords,$globalMetaData)=getRecords(array(
'tableName' =>'global',
'limit' => 1,
'allowSearch' =>0,
));
$global = $globalRecords[0];
?>
Thank You.