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

[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 unsubscrib

[PHP-DB] Variables

2002-04-25 Thread Julio Cuz, Jr.
//But so far, it only 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. Riversid

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

2001-04-06 Thread Julio Cuz, Jr.
//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] 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]

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'

[PHP-DB] SELECT statement

2001-04-04 Thread Julio Cuz, Jr.
"SELECT * FROM \"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]

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

2001-03-27 Thread Julio Cuz, Jr.
Hi-- I don't know if this is something PHP can solve, or if my database engine (Postgresql 7.03) needs to do something. Every time a user adds a new request, a new ID is generated, but SOMETIMES, when the same user adds several requests, one after another, the browser does NOT refresh and it

[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 help

[PHP-DB] Money to double format?

2001-03-15 Thread Julio Cuz, Jr.
Hi-- I have about 10 fields (in PGSQL) that have the MONEY format, when I edit a form they display as "$0.00" (for example), but when I do some math using those fields, PHP treats them as "$0.00" and NOT as 0.0, I've tried to use SETTYPE ($field, double), but all numbers get reset to 1. Any i

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

2001-03-14 Thread Julio Cuz, Jr.
esult = 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] Evaluating T/F (2)

2001-03-14 Thread Julio Cuz, Jr.
ID=$id"; $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-DB] Evaluating T/F.

2001-03-14 Thread Julio Cuz, Jr.
/sqlerror.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 unsubscr

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

2001-02-22 Thread Julio Cuz, Jr.
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] Redirect command?

2001-02-22 Thread Julio Cuz, Jr.
Hi-- I've been looking for a "redirect" command (basically redirect from page a to page b if something happens)... Julio Cuz, Jr. Riverside Community College [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

[PHP-DB] SELECT problem (2)

2001-02-22 Thread Julio Cuz, Jr.
" line to pass the value of "$campus" to the new loaded page. Help! 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(""); Julio Cuz, Jr. Riverside Community College [EMAIL PROTECTED]

[PHP-DB] Drop-down menu selection

2001-02-20 Thread Julio Cuz, Jr.
t;); ?> $building: "); $cmlist = @pg_exec($db, "SELECT * FROM building_$campus") or die(include("../sqlerror.inc")); $i = 0; $x = pg_numrows($cmlist); while ($i < $x): $clist = pg_fetch_array($cmlist,$i); echo "".$clist["Building"].""; $i++; endwhile; echo(""); ?> = Julio Cuz, Jr. Riverside Community College [EMAIL PROTECTED]

[PHP-DB] Lowercase problem

2001-02-05 Thread Julio Cuz, Jr.
ercase, as well as field names...I had to transfer everything to lowercase to get it working. 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 PROTEC

[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 comman

[PHP-DB] Access 2000 to PostgreSQL

2001-01-11 Thread Julio Cuz, Jr.
Hi-- Does anyone have a tutorial or sample commands on how to EXPORT data FROM MS ACCESS 2000 to POSTGRESQL? Thanks! Julio Cuz, Jr. Riverside Community College [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional