[PHP-DB] Freetds/ODBC/Openlinks?

2001-01-23 Thread Julio Cuz, Jr.
Hi-- Bottom line: What's the most used way of talking to MSSQL from PHP 4? Freetds/ODBC/Openlinks/other? Julio Cuz, Jr. Riverside Community College [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

[PHP-DB] Drop-down menu selection

2001-02-20 Thread Julio Cuz, Jr.
x = pg_numrows($cmlist); while ($i $x): $clist = pg_fetch_array($cmlist,$i); echo "OPTION VALUE='".$clist["Building"]."'".$clist["Building"]."/OPTION"; $i++; endwhile; echo("/SELECT"); ? = Julio Cuz, Jr. Riverside Community College [EMAIL PROTECTED]

[PHP-DB] SELECT problem

2001-02-22 Thread Julio Cuz, Jr.
Hi-- What's wrong with this line of code? echo("SELECT onChange=\"window.location=\"$PHP_SELF?campus+=\"this.value\"\"\" NAME='campus'"); Julio Cuz, Jr. Riverside Community College [EMAIL PROTECTED]

[PHP-DB] SELECT problem (2)

2001-02-22 Thread Julio Cuz, Jr.
quot; after the user selects a campus from a drop-down menu. But I can't get the "this.value" line to pass the value of "$campus" to the new loaded page. Help! Julio Cuz, Jr. Riverside Community College [EMAIL PROTECTED]

[PHP-DB] Variables

2001-02-22 Thread Julio Cuz, Jr.
be there, including field 4 this time. Julio Cuz, Jr. Riverside Community College [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, e-mail: [EMAIL

[PHP-DB] CLEAR screen command

2001-02-22 Thread Julio Cuz, Jr.
Hi-- Is there a CLEAR SCREEN command in PHP? Julio Cuz, Jr. Riverside Community College [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, e-mail

[PHP-DB] Evaluating T/F.

2001-03-14 Thread Julio Cuz, Jr.
rror.inc")); $myrow = pg_fetch_array($result,0) or die(include("../sqlerror.inc")); ------------- Julio Cuz, Jr. Riverside Community College [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe,

[PHP-DB] Evaluating T/F (2)

2001-03-14 Thread Julio Cuz, Jr.
result = pg_exec($db, $sql) or die(include("../sqlerror.inc")); $myrow = pg_fetch_array($result,0) or die(include("../sqlerror.inc")); ------------- Julio Cuz, Jr. Riverside Community College [EMAIL PROTECTED] -- PHP D

[PHP-DB] Evaluting T/F (3)

2001-03-14 Thread Julio Cuz, Jr.
= pg_exec($db, $sql); $myrow = pg_fetch_array($result,0) or die(include("../sqlerror.inc")); ------------- Julio Cuz, Jr. Riverside Community College [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubsc

[PHP-DB] Error

2001-03-15 Thread Julio Cuz, Jr.
Hi-- When I run the following code: if($myrow = pg_fetch_array($result,0)) { echo "ok..."; } else { die(include("../sqlerror.inc")); } I get this error message: "Warning: Unable to jump to row 0 on PostgreSQL result index 2 in /html/rccd/remodel/display.php on line 27" Please

[PHP-DB] Validating forms

2001-04-02 Thread Julio Cuz, Jr.
Hi-- I have a form that cannot have a specific field blank, so I would like to add a message box saying "fill out the x field," is there a way to do this WITHOUT having to refresh the page? Julio Cuz, Jr. Riverside Community College [EMAIL PROTECTED] -- PHP Database Mailing

[PHP-DB] SELECT statement

2001-04-04 Thread Julio Cuz, Jr.
\"Remodel\" WHERE \"WO\" LIKE $find"; break; case "Email": $sql = "SELECT * FROM \"Remodel\" WHERE \"Email\" LIKE $find"; break; } -- Julio Cuz, Jr. Riverside Community College [EMAIL PROTECTED]

Re: [PHP-DB] SELECT statement

2001-04-04 Thread Julio Cuz, Jr.
names and '"$find" is what the user entered when searching for a record. At 03:39 PM 4/4/2001 -0700, you wrote: At 03:24 PM 4/4/2001 -0700, Julio Cuz, Jr. wrote: Every time I run the following code, I get this error if I use a NUMBER for the 'Email' case: "Warning: Unable to jump to row

Re: [PHP-DB] Error in non existing line

2001-04-06 Thread Julio Cuz, Jr.
TED] To contact the list administrators, e-mail: [EMAIL PROTECTED] Julio Cuz, Jr. Riverside Community College [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, e-mail: [EMAIL PROTECTED]

[PHP-DB] Variables

2002-04-25 Thread Julio Cuz, Jr.
processes the value of $count alone, and it ignores $c //The line below should read like this: $c1 = $artist[0], next line: $c2 = $artist[1], etc. $c . $count+1 = $artist[$count]; } Help!!! Julio Cuz, Jr. Riverside Community College [EMAIL

[PHP-DB] Check Boxes

2002-04-29 Thread Julio Cuz, Jr.
Hi-- Does anyone have any suggestions, SAMPLES, or ideas on how to STORE, RETRIEVE, AND PROCESS values for Check Boxes w/PHP Postgresql? Thanks! Julio Cuz, Jr. Riverside Community College [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP-DB] Upgrading PHP

2002-08-14 Thread Julio Cuz, Jr.
Hi-- I'm currently running 4.0.4pl1 on RedHat 7.0 and I want to upgrade to PHP 4.2.2is there anything special I have to do BEFORE or AFTER the install? Or is it just a straight re-install of PHP on top of the current Version? THANKS! Julio Cuz, Jr. [EMAIL PROTECTED] Information