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
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 (Would that
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:
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 =
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 like
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
6 matches
Mail list logo