In test1.php you shoul have
?
$qry=getenv("QUERY_STRING");
$rosen=substr($qry,6);
print("$rosen");
?
Sorin Ifrim
Rosen [EMAIL PROTECTED] wrote in message
96tdvp$oo7$[EMAIL PROTECTED]">news:96tdvp$oo7$[EMAIL PROTECTED]...
Hi,
I have two simple php files:
main.php:
A
It is possible, but the syntax is :
$sql = "select businessname from main where businesstype =
'consultancy' and " .$community." != '0'";
This is the case where $comunity is the name of a field.
Regards
Sorin Ifrim
- Original Message -
From: Matt Davis [EMAIL PROTECTED]
To: Php
Hi,
Try this :
?
$qry=getenv("QUERY_STRING");
$sirarg=explode("",$qry);
$url_adr=$sirarg[0];
$mail_adress=$sirarg[1];
$fcontents = join ('', file ($url_adr));
$posta=mail($mail_adress ,"Requested URL: ".$url_adr, $fcontents ,"From:
[EMAIL PROTECTED]\n"."MIME-Version:
The ? meta-character is used for matching zero or one occurence of the
preceding character , in this case , l .
T'his means that you'll match all words that begin with 'Wi' and continue
with one or zero 'l' .
HTH
Sorin Ifrim
- Original Message -
From: Dhaval Desai [EMAIL PROTECTED]
To:
Hi,
You could try this:
$script_name = getenv("PATH_TRANSLATED");
$dir_name = dirname($script_name);
$d = dir($dir_name);
$i = 0;
while ($file = $d-read())
$file_array[i] = $file ;
}
HTH
Sorin Ifrim
- Original Message -
From: Brandon
Try to use == instead of =
Sorin Ifrim
- Original Message -
From: Andrew [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 15, 2001 5:33 PM
Subject: [PHP] parse error driving me nuts ...
hi, can anyone help me spot the parse error?
It's throwing up on the first
Hello,
The reason is that you might want to pass to PHP script that process
the form information that is not found in any other shown field of the form
,
for example an id code.
HTH
Sorin Ifrim
- Original Message -
From: Angerer, Chad [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent:
You can use mysql_fetch_array() for each row returned in the cursor.
Sorin Ifrim
- Original Message -
From: Karl J. Stubsjoen [EMAIL PROTECTED]
To: PHP Mailing List [EMAIL PROTECTED]
Sent: Tuesday, February 13, 2001 7:32 PM
Subject: [PHP] Return ODBC Results to an array
Is there a
For ODBC, the function is odbc_fetch_into().
Sorin Ifrim
- Original Message -
From: Karl J. Stubsjoen [EMAIL PROTECTED]
To: PHP Mailing List [EMAIL PROTECTED]
Sent: Tuesday, February 13, 2001 7:32 PM
Subject: [PHP] Return ODBC Results to an array
Is there a way to return the results
You could try a two step query:
$querywords="CREATE TABLE temptable SELECT ... ";
$sel_querywords=mysql_query($querywords);
$search = "SELECT count(search_table.word) as score,
search_table.qid,page_data.contents
FROM search_table,page_data,temptable
WHERE page_data.pID =
10 matches
Mail list logo