Jason Pruim wrote:
So I said in another thread that I would be asking another question
about functions... So here it goes, I am attempting to write a function
to search the database, which used to work just fine when I wrote it
without using a function (Would that be considered static?) Now tha
>
> Jason,
>
> Untested, but try this...
>
> function search($searchvar, $table, $num_rows, $FName, $LName, $Add1,
> $Add2) {
>$qstring = "SELECT * FROM ".$table." WHERE FName like
> '%$searchvar%'
> or LName like '%$searchvar%' or Add1 like
> '%$searchvar%' or Add2
On 2/1/08, Jason Pruim <[EMAIL PROTECTED]> wrote:
>
> On Feb 1, 2008, at 2:20 PM, David Giragosian wrote:
>
> On 2/1/08, Jason Pruim <[EMAIL PROTECTED]> wrote:
> >
> > [snip long explanation of problem]
>
>
> function search($searchvar, $table, $num_rows, $FName, $LName, $Add1,
> $Add2) {
>
On Feb 1, 2008, at 2:20 PM, David Giragosian wrote:
On 2/1/08, Jason Pruim <[EMAIL PROTECTED]> wrote:
[snip long explanation of problem]
function search($searchvar, $table, $num_rows, $FName, $LName,
$Add1, $Add2) {
$qstring = "SELECT * FROM ".$table." WHERE FName like '%
$searchvar
On 2/1/08, Jason Pruim <[EMAIL PROTECTED]> wrote:
>
> So I said in another thread that I would be asking another question
> about functions... So here it goes, I am attempting to write a
> function to search the database, which used to work just fine when I
> wrote it without using a function (Woul
So I said in another thread that I would be asking another question
about functions... So here it goes, I am attempting to write a
function to search the database, which used to work just fine when I
wrote it without using a function (Would that be considered static?)
Now that I am attempti
6 matches
Mail list logo