[PHP-DB] Code Problem.... EMERGENCY!!

2003-12-31 Thread John Greco
; . mysql_error(). "\n"); while ($row5 = mysql_fetch_assoc($result5)) { $products[] = $row5['prodNum']; $sql4 = "UPDATE product SET physCount='".$_POST[$value]."' WHERE prodNum='".$row5['prodNum']."' AND whseNum=

[PHP-DB] EMERGENCY!!

2003-12-31 Thread John Greco
I am trying to build a web site for our inventory. I have a mysql DB that i connect to. The following code is what I use. The array products wont go past I tried this first: $sql5 = "select * from product where whseNum = '".$whseNumber."' order by prodNum"; $result5 = mysql_query($sql5, $conn) or

[PHP-DB] PHP export to CSV

2003-12-22 Thread John Greco
Anyone ever get some code to select from the DB and drop into a CSV file? -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] Skipping a row

2003-12-18 Thread John Greco
$sql2 = "select * from product where whseNum = '".$whseNumber."' order by prodNum"; "Fedde Van Feggelen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > >I have a select statement that goes to my mySQL db and selects some data > >from there. I thought it was working great BUT it i

[PHP-DB] Skipping a row

2003-12-18 Thread John Greco
I have a select statement that goes to my mySQL db and selects some data from there. I thought it was working great BUT it is skipping the first row. Any ideas? I know it has to be somehting simple I am missing. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.

[PHP-DB] PHP-DB Problem

2003-12-18 Thread John Greco
*Sorry if this is a duplicate* Using mySQL db to store my data. Using a select statement on my PHP page. When it lists out the data it seems to be skipping the first row. Any ideas? -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] PHP and UniData

2003-11-04 Thread John Greco
Is it simple to connect to a unidata db on a AIX system? John Greco I.T. Department RAB Electric Manufacturing, Inc. 170 Ludlow Avenue Northvale, NJ 07647 Tel: 888 RAB-1000 Fax: 888 RAB-1232 Web: www.rabweb.com <http://www.rabweb.com> Email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>