[PHP] RE: MSSQL 2000's 'real' type kills php

2002-05-14 Thread Mullin, Reginald
Jerome, I'd had a similar problem a few weeks ago (see http://marc.theaimsgroup.com/?l=php-generalm=101960285228542w=2). Try modifying your SQL statement like so: mssql_query(SET TEXTSIZE 2048 select inventory from products where code = 'FCA13'); O From Now 'Till Then, \-Reginald

[PHP] MSSQL paging with PHP

2002-04-29 Thread Mullin, Reginald
Guys, Has anyone had much success in building a paging script with PHP for the MSSQL database? I've been working on such a script now for three (3) days, but to no avail. Any help you can send my way would be greatly appreciated. Thank you. O From Now 'Till Then, \-Reginald Alex Mullin

RE: [PHP] Out of memory error message

2002-04-23 Thread Mullin, Reginald
to be working! No problems yet that I can see! Just wanted to share! O From Now 'Till Then, \-Reginald Alex Mullin /\ 212-894-1690 -Original Message- From: Mullin, Reginald Sent: Monday, April 22, 2002 10:30 AM To: 'Chris Hewitt' Cc: [EMAIL PROTECTED] Subject: RE

RE: [PHP] Out of memory error message

2002-04-22 Thread Mullin, Reginald
message as well? O From Now 'Till Then, \-Reginald Alex Mullin /\ 212-894-1690 -Original Message- From: Chris Hewitt [SMTP:[EMAIL PROTECTED]] Sent: Saturday, April 20, 2002 7:10 AM To: Mullin, Reginald Subject: Re: [PHP] Out of memory error message Reginald

[PHP] Out of memory error message

2002-04-19 Thread Mullin, Reginald
Hi Guys, Does anyone know what the following error message is and how I can go about solving it? ***ERROR MSG*** Out of memory during large request for 2147487744 bytes, total sbrk() is 1459608 bytes. This error message gets written to Apache's error logs every other time I execute my MSSQL

[PHP] Creating arrays using results from MySQL query

2002-03-18 Thread Mullin, Reginald
Hi Guys, I've been experiencing some problems when trying to build 3 arrays with the ID values of all of the groups a user belongs to. (I then want to register these arrays into the current session). The arrays only appear to be getting the first value (group ID) instead of all of the values

RE: [PHP] Creating arrays using results from MySQL query

2002-03-18 Thread Mullin, Reginald
[SMTP:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 1:26 PM To: Mullin, Reginald Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Creating arrays using results from MySQL query You have to call mysql_fetch_array for each record in your result set... $emp_login_wkgrp_id = array

FW: [PHP] Creating arrays using results from MySQL query

2002-03-18 Thread Mullin, Reginald
. O From Now 'Till Then, \-Reginald Alex Mullin /\ 212-894-1690 -Original Message- From: Mullin, Reginald Sent: Monday, March 18, 2002 2:29 PM To: 'Mark Heintz PHP Mailing Lists'; [EMAIL PROTECTED] Subject: RE: [PHP] Creating arrays using results from MySQL query

RE: [PHP] Creating arrays using results from MySQL query

2002-03-18 Thread Mullin, Reginald
- From: Mullin, Reginald Sent: Monday, March 18, 2002 2:45 PM To: '[EMAIL PROTECTED]' Subject: FW: [PHP] Creating arrays using results from MySQL query I've just added another record to the table. Now they're a total of 3 records matching the WHERE emp_id='$emp_login_id criteria

RE: [PHP] Re: Is there a GoTo Page Function?

2002-03-06 Thread Mullin, Reginald
You can also use JavaScript to redirect the user to another page. After your form has finished updating your database, do the following: ?php echo script language=\javascript\window.location.href='NEXT_PAGE.html';/script; ? Note: Your client's browser must support JavaScript for this to work.

[PHP] Displaying image from MySql DB

2002-02-22 Thread Mullin, Reginald
Hi Guys, I have some images stored in my MySql database that I'd like to display on the bottom of my HTML page. However, whenever I attempt to display the images using the follow code: $getPhoto = mysql_fetch_object($result); $Type = $getPhoto-type; Header(Content-type: $Type); $Body =

[PHP] Using PHP to post the contents of an email to MySql database

2002-01-11 Thread Mullin, Reginald
Hi Guys, I recently read an email entitled Can a PHP program receive an e-mail and write it to a file??? in the PHP archives (see http://marc.theaimsgroup.com/?l=php-generalm=97986044121868w=2) and wanted to ask a follow up question. I'm a novice programmer, new to PHP, and unfamiliar with the

FW: [PHP] Using PHP to post the contents of an email to MySql database

2002-01-11 Thread Mullin, Reginald
PROTECTED]] Sent: Friday, January 11, 2002 12:30 PM To: [EMAIL PROTECTED]; Mullin, Reginald Subject: Re: [PHP] Using PHP to post the contents of an email to MySql database on linux, you could simply open these 'files': /dev/stdin /dev/stdout for windows, and for portability