January 29th, 2000, 09:52 PM
I have a search result with a link which links to the ID# of the record. By clicking on the link I would like the rest of the record displayed. What will my script look like to pull a particular record ID?
Hope this makes some kind of sense.
March 2nd, 2000, 11:11 AM
I think that I know what you are asking, I am a little new to it though.
I have done something like this recently:
$this->query("SELECT * FROM mytable WHERE ID = "$ID"");
$Result .= $this->f("Field") . "<br>n";
$Result .= $this->f("Field2") . "<br>n";
As you may see I have built the HTML in the function as opposed to passing the data back in an array to the page and build it there. This is so if the show() is on many pages you can control the display method globally.
mmm...does this make sense??