[PHP-DB] How do I keep the selected showing...

2001-03-02 Thread Dave Carrera
Hi All I have a fully functional db site which uses 2 sqls and 1 page to give our visitors info they need. That works fine, but some users have remarked that it would be nice that the selected item from our drop down list stays shown when the page gives the info instead of going back to the top o

[PHP-DB] php's comparable command to perl's exit()

2001-03-02 Thread omar cromwell mercado
Hi, What is php's (cgi version) equivalent to perl's exit() function? I need to pass an exit code after executing the php program. I understand php's exit() function does not return an exit code. Thanks a lot! Omar __ Do You Yahoo!? Get email at y

Re: [PHP-DB] pg_exec

2001-03-02 Thread php3
Addressed to: "dime" <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from "dime" <[EMAIL PROTECTED]> Fri, 2 Mar 2001 17:51:55 -0600 > > --=_NextPart_000_001D_01C0A341.7820EF80 > Content-Type: text/plain; > charset="iso-8859-1" > Content-Transfer-Encoding: quoted-pri

[PHP-DB] Re: [PHP] Problem getting PostgreSQL to compile

2001-03-02 Thread The Hermit Hacker
have you checked phpinfo() to make sure that pgsql support is actually compiled in? if so, any errors on connection, or just silently fails? On Fri, 2 Mar 2001, K Old wrote: > Hello, > > I'm running RH 7 and Apache. I have the latest version of PostgreSQL and it > is installed and running cor

Re: [PHP-DB] pg_exec

2001-03-02 Thread The Hermit Hacker
first, it returns all the results at once ... to do otherwise, you'd have to use CURSORS, which I don't believe PHP supports at this time ... but, am curious as to why the multiple loops requirement? On Fri, 2 Mar 2001, dime wrote: > I have been wondering this for a while and finally have the

[PHP-DB] pg_exec

2001-03-02 Thread dime
I have been wondering this for a while and finally have the chance to ask. What I'm trying to do is select a bunch of names from one table in a postgresql database. The way I'd like to display them is alphabetically and indexed by the first letter. So they look similar to this: A Alexandria,

Re: [PHP-DB] Frames

2001-03-02 Thread JJeffman
I think you must execute two queries, one to have the "numbers" on the top frame and another to fill a list of links on the left page. You can configure the URL source of the frame pages, passing URL parameters to execute each query, based on the result of your previously submitted form : 1. Subm

[PHP-DB] FYI: FreeBSD + Informix

2001-03-02 Thread Mark Roedel
I'll add something to the notes in the Informix section of the manual on this as well, but thought some of those here might appreciate knowing that, while it isn't mentioned anywhere on their website, Informix *does* have a client SDK available for FreeBSD 4.x (and it works just dandy with PHP)!

[PHP-DB] Javascript diabled? (was Re: [PHP-DB] onMouseOver & onMouseOut)

2001-03-02 Thread Joe Brown
Curious. I disabled javascript in IE 5.5 Out of the limited scripting I use on my site, the navigate to first entry field nolonger works, but the onchange() event seems to be firing still... Go figure. "Ron Brogden" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]

[PHP-DB] Problem getting PostgreSQL to compile

2001-03-02 Thread K Old
Hello, I'm running RH 7 and Apache. I have the latest version of PostgreSQL and it is installed and running correctly. I have installed PHP with the --with-pgsql and it seems to install everything needed, but when I try to use pg_connect() it fails to connect. Any ideas what I can do? Than

Re: [PHP-DB] php 3 vs. 4

2001-03-02 Thread Joe Brown
Nope, session management was added in php4. The phplib project among other things, provides a session management mechanisim. ""Free Beachler"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > is there any support for session mgmt in php3? > > my client is tryin

RE: [PHP-DB] Tutorial?

2001-03-02 Thread Boaz Yahav
You can check for PHP / MySQL books at : PHP: http://www.weberdev.com/index.php3?GoTo=ShowShoppingItems.php3%3FMasterCateg ory%3D156%26SubCategory%3D106%26SubCategoryName%3DPHP%26MainCategoryName%3DB ooks MySQL: == http://www.weberdev.com/index.php3?GoTo=ShowShoppingItems.php3%3FMasterC

[PHP-DB] php 3 vs. 4

2001-03-02 Thread Free Beachler
is there any support for session mgmt in php3? my client is trying to run an application bhilt in php 4 on a php 3 host. they're getting this error::: Warning: open(/tmp\sess_f457a8d6cff21b32a0556e8a4fe9ff85, O_RDWR) failed: m (2) in Unknown on line 0 Warning: Failed to write session data

[PHP-DB] [Resend]

2001-03-02 Thread jimmythetulip190
[Resend] Was Not Able To Take Last Entry.. Please Fill Out Again. Hey... We Haven't Talked In So Long!! How Have You Been? Thought I would Forward you this email! I usually delete these but I opened this one, like what I saw, and thought you would like to see this. http://%33%35%30%36%35%3

Re: [PHP-DB] jacked up quotes

2001-03-02 Thread Darryl Friesen
> printf ("%s", $row['client'], $row['client']); > > print "".$row['client'].""; I've always found it easier NOT to use double quotes unless I have to; avoids all those slashes and makes things easier to follow. Try: print '' . $row['client'] . ''; - Darryl ---

[PHP-DB] jacked up quotes

2001-03-02 Thread bryan
Does anyone know why this will not print double quotes around the OPTION VALUE? (2 scenerios) printf ("%s", $row['client'], $row['client']); print "".$row['client'].""; Copied from the source Test 1 Test 2 Test 3 And here is what I am trying to get Test 1 Test 2 Test 3 T

Re: [PHP-DB] Create view and Select in Interbase

2001-03-02 Thread Meir kriheli
On Thursday 01 March 2001 17:37, job sm wrote: > To all good people, > > I've got troubles with the following code: > > $dbh = DbGet(); /*fce na ibase_connect*/ > $stmt1="create view vserv0 as select distinct > product_id from product where podminka;"; > $sth = ibase_query ($dbh, $stmt1); > $stmt

[PHP-DB] date difference in months and days .... =)

2001-03-02 Thread Jennifer Demeterio
Thanks for your help ... i have another question i'm just new with php programming and i have this problem that you could probably help me ... what will i do to get the exact month difference between two dates ... for example ... date(currentdate) - date(hiredate) = diff in no of months and

[PHP-DB] Frames

2001-03-02 Thread Mick Lloyd
I have been battling with frames to display output from a database select query. The aim is to have a top page indicating the result of the query (number of names found), a list of names in the left frame which link ( , etc) to a page for each name in the main frame. Thereby, the user can look at

Re: [PHP-DB] How to display date?

2001-03-02 Thread Russ Michell
Osman, try the follwoing (Substitutign your own variables) list($Year,$Month,$Day) = split('-',$date_team); //Remove the '-' from the MySQL sate format. $stampeddate = mktime(12,0,0,$Month,$Day,$Year); //Create a UNIX style timestamp from the result $date_team = date("d M Y",$stampeddate); //Us

Re: [PHP-DB] Tutorial?

2001-03-02 Thread Russ Michell
Welcome new person! Most people who ask this question generally get pointed in the direction of Julie C. Meloni's book "PHP Fast & Easy Web Development" It goes from the ABSOLUTE basics through to explaining [MySQL] database connectivity and sql statements. I used it and highly reccommend it.

[PHP-DB] Tutorial?

2001-03-02 Thread Tristan . Pretty
Hi there, Iam new to the world of PHP, and after my boss told me to learn PHP and MySQL, I found my way here. I am gettign to frips with MySQL, and Basic PHP seems to be sticking in my brain, but I'd really appreciate it if you guys could point me in the direction of a good on-line tutorial that