[PHP] DBase functions

2001-01-22 Thread Piotr Duszynski

I have a problem connecting to dbase database. I use:
dbase_open("filename.dbf",0) and get from PHP:
Fatal error: Call to unsupported or undefined function dbase_open() in ...

What's the problem?

-- 

    Piotr Duszynski

http://www.softomat.com.pl
http://filmomat.3miasto.pl 
http://www.3miasto.pl

-- 
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]




Re: Re: [PHP] PHP Editors

2001-01-24 Thread Piotr Duszynski

> Everyone has their favorite editor, and FWIW mine is editplus. I've
> programmed for almost 20 years with many different editors and in
> my opinion, this is the best editor I've ever used. It works
> great with PHP.
> www.editplus.com

I use PHPED (www.phped.com). It has some bugs but I like it. What is
important that it has online manual (F1 clicked on word you search for)

-- 

        Piotr Duszynski

http://www.softomat.com.pl
http://filmomat.3miasto.pl 
http://www.3miasto.pl

-- 
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] Circle using GD

2001-01-26 Thread Piotr Duszynski

I need to draw circle using GD library. Can you get me some function doing
this? 
Thanks.

-- 

Piotr Duszynski

http://www.softomat.com.pl
http://filmomat.3miasto.pl 
http://www.3miasto.pl

-- 
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] Is it bug?

2001-03-07 Thread Piotr Duszynski

I have smth like that in my code:
$wyjscie.="blankietparttwo{}{$imie $nazwisko $ulica $kodpocztowy $miejscowosc}";

And I get error:

Parse error: parse error, expecting `'}'' in zamowienia.inc on line 609

What's wrong? 

-- 

        Piotr Duszynski

http://www.softomat.com.pl
http://filmomat.3miasto.pl 
http://www.3miasto.pl

-- 
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]




Re: [PHP] ID value

2001-01-31 Thread Piotr Duszynski

>  $sql = "INSERT INTO songs (id,name,url) VALUES
> ('','Foobar','test.php?id=)";
> 
> The id is autoincrement so obviously left blank, yet I'd like to put it into
> the url where  is.
> 
> How do I go about dragging back the id even though it is being created (I
> suppose) while the statement is being made -- is it possible or do I have to

Try this:
 
mysql_db_query("
INSERT INTO songs (id,name,url) 
VALUE ('','Foobar','')
";
mysql_db_query($sql);
$id=mysql_insert_id($link);
mysql_db_query=("
UPDATE songs 
SET (url='test.php?id=$id') 
WHERE id=$id
";

This should work but notice that you have to do 2 SQL queries and this
could slow down executing your script if there is some loop. 
-- 

Piotr Duszynski

http://www.softomat.com.pl
http://filmomat.3miasto.pl 
http://www.3miasto.pl

-- 
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]




Re: Re: [PHP] Pricing for PHP programming???

2001-02-06 Thread Piotr Duszynski

On Thu, Feb 01, 2001 at 12:52:21PM +1100, Josh G wrote:
> I hear you. Another thing that's hard to find, is somebody who is a
> good programmer, and a good graphic designer. I don't really know
> any, apart from myself, and I've been just shy of being called a lying
> scumbag by a few HR companies over the years when they look at
> my resume ;-)
> 
> This thread has really fired up my desire to go the states US$80
> an hour for php dmn, that's a shitload more than I
> make here, which is more like US$20/hr

Hmm. I get about $250 a month! And I don't think that I'm bad programmer...
But this is Poland - Another World :(
-- 

    Piotr Duszynski

http://www.softomat.com.pl
http://filmomat.3miasto.pl 
http://www.3miasto.pl

-- 
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]