[PHP-DB] kinda unrelated, but curious...

2001-07-03 Thread David Balatero
...where do you people pick up freelance jobs? Any input on this? - David Balatero [EMAIL PROTECTED] - -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators,

Re: [PHP-DB] RE: Storing Code in a db?

2001-07-03 Thread Szii
XML would be perfect for this. You store the XML in the database (usually a BLOB/CLOB/Long VARCHAR/etc) and your script pulls the XML out, and parses it there. You can have a set of input forms written in PHP which'll generate the XML for you. Of course, this assumes some knowledge of XML, but

Re: [PHP-DB] kinda unrelated, but curious...

2001-07-03 Thread Szii
Most of the time, by word of mouth. Other than that, scan the 'net, look on the job boards. If you're new to the field, put your name in a couple recruiters hands. Sure, it's not freelance, and you won't make as much, but a couple jobs and you start to become known. Once you're known, and have

RE: [PHP-DB] kinda unrelated, but curious...

2001-07-03 Thread David Balatero
Can you recommend job boards I won't have to pay to use? -- David -Original Message- From: Szii [mailto:[EMAIL PROTECTED]] Sent: Monday, July 02, 2001 11:27 PM To: David Balatero; [EMAIL PROTECTED] Subject: Re: [PHP-DB] kinda unrelated, but curious... Most of the time, by word of

[PHP-DB] Date Format.

2001-07-03 Thread John Starkey
Hello all, I'm on the last leg of a project I'm doing, and maybe I'm just too fried but I've tried several things. Can anyone help: I've created an Event Listing form. The script pulls the table names from the DB and preg's them to create the field names for the form. Any field name that

[PHP-DB] passing db persistent connections through different pages

2001-07-03 Thread Hervé Piedvache
Hi, Big trouble ... with PostgreSQL 7.1.2 and PHP 4.0.6 on linux I'm using exactly the same configuration (and same application, same connection system) using PostgreSQL 7.1 and PHP 4.0.4pl1 same postgreSQL config file, same php.ini same kind of servers, same Apache version 1.3.19 and it's

Re: [PHP-DB] kinda unrelated, but curious...

2001-07-03 Thread Ken Sommers
HI, I stumbled on this site http://www.missoulaweb.com/freelance.phtml see if you think it is cool.. Ken - Original Message - From: David Balatero [EMAIL PROTECTED] To: Szii [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, July 03, 2001 12:03 AM Subject: RE: [PHP-DB] kinda unrelated,

[PHP-DB] Trouble: pq_recvbuf: unexpected EOF on client connection

2001-07-03 Thread Hervé Piedvache
Hi, Big trouble ... with PostgreSQL 7.1.2 and PHP 4.0.6 on linux I'm using exactly the same configuration (and same application, same connection system) using PostgreSQL 7.1 and PHP 4.0.4pl1 same postgreSQL config file, same php.ini same kind of servers, same Apache version 1.3.19 and it's

Re: [PHP-DB] Issue with MSSQL_QUERY()

2001-07-03 Thread tony . mccrory
With mysql you can do mysql_insert_id. The following code should do what you need in mssql. $query=InsertRequest '1','2','3','4/11/01','5','6','7','8','9/11/01','10/11/01','11','12','13','1 4','15',''; $return=MSSQL_QUERY($query); $id=mssql_query(select @@IDENTITY as 'taskid');

[PHP-DB] Handling Linefeeds in MySQL/PHP

2001-07-03 Thread Bessette, Casey
I am creating a content management page that uses a textarea box to enter a chunk of text which then is sent into the database into a text-type field. I am finding that when the data is retrieved to be shown in the browser that the line feeds are lost. I don't want users to have to know HTML to

Re: [PHP-DB] Handling Linefeeds in MySQL/PHP

2001-07-03 Thread John S. Huggins
Try nl2br() http://www.php.net/manual/en/function.nl2br.php On Tue, 3 Jul 2001, Bessette, Casey wrote: -I am creating a content management page that uses a textarea box to enter a -chunk of text which then is sent into the database into a text-type field. - -I am finding that when the data

Re: [PHP-DB] Issue with MSSQL_QUERY()

2001-07-03 Thread tony . mccrory
sorry bum info in my last post, it should have read $id=mssql_query(select @@IDENTITY as 'taskid'); $result=mssql_fetch_array($id); $taskid=$result[taskid]; Tony

[PHP-DB] sybase_query()

2001-07-03 Thread jong jong
Please take a look into my simple php code. Why does this program die on query2 failed but a new record acturally is inserted into table pub_info? I asked this question last week, but didn't get any answer so far. If you don't see any problem in there, please let me know. This is my last try!

Re: [PHP-DB] Handling Linefeeds in MySQL/PHP

2001-07-03 Thread Micah Stevens
The information returned from a text box includes line feeds in the form of \n which is not recognized by browsers as a line feed. To make it display properly, you need to convert all the \ns to brs.. Here's a snippet of code that I use: // Assume that the text field is named 'message' and

Re: [PHP-DB] problems connecting to remote oracle database

2001-07-03 Thread phil
On Tue, Jul 03, 2001 at 09:43:52AM -0400, Brian S. Dunworth wrote: Hi Phil... Since you have the server name (vs. the IP address) in the HOST= verb, make sure you have an entry in /etc/hosts for a server called 'staging' yes, that's there, otherwise, I wouldnt be able to use sqlplus