[PHP] Documentation

2001-05-11 Thread Don Pro

Does anyone know alternative sites for PHP documentation?

www.php.net seems to be down.

Thankls,
Don


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Syntax for select statement

2001-04-27 Thread Don Pro

Hi,

I've written PHP routines to work on MySQL and so far so good.  However,
I have one question.

I have a select routine that has the following syntax (which works fine
thus far):

$queryID = mysql_query(SELECT Country, Agent FROM Ports
WHERE Portname = '$portname');

My question is, if the variable $portname has the ' character within in,
will this cause an error in my select statement?  If the answer is
Yes, can someone give me a more robust way of writing it using PHP?

Thanks,
Don


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] dbase functions still supported?

2001-03-20 Thread Don Pro

Hi,

Using PHP 4.04pl1

I am getting an error executing the dbase_create function. Th elines of
code are:

if (!dbase_create($export_file, $dbf_def))
  echo "Error creating DBF file";

my error message is:

Fatal error:  Call to undefined function:  dbase_create() in my_prog.
php on line 59

I found this function in the PHP docs. Is it still supported?


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] PHP standalone script

2001-03-16 Thread Don Pro

Hi,

I've used PHP scripts in my HTML to provide dynamic content but I was
wondering if I can also use PHP to create standalone scripts on my UNIX
box.  If so, where is the PHP interpreter and how do I invoke it?


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]