[PHP-DB] Print

2004-09-09 Thread Ng Hwee Hwee
Hi, I have a pressing problem with regards to printing. My situation is as follows: 1) I have a form in a table format with the following headers: | No. | Date | Contents | Remarks | 2) the fields under Contents and Remarks are textareas to allow users to type as much as they want. 3) after

[PHP-DB] Re: Subject: Print

2004-09-09 Thread Neil Smith [MVP, Digital media]
This is NOT a PHP question, or even a Javascript question - it's basic HTML and CSS. You must read here http://www.dillonsoftware.com/essays/printing.jsp point #3 And here on A ListApart : http://www.alistapart.com/discuss/goingtoprint/6/ But please do not post basic HTML questions to the PHP

[PHP-DB] Newsletter and smtp

2004-09-09 Thread Remember14a
Dear friends, While sending newsletter, using mailing list, php script is able to connect to database, retrieve emails, however is unable to send newsletter or email. I am using localhost. I have SMTP installed on local machine. Any guidance

[PHP-DB] grid unsetting vars

2004-09-09 Thread Sancerni Veronica
We'll I've got a query based on mysql_fetch_object to show the results of the previous search and print them out in tables. Then I got the the $grid idea for printing an array in a horizontally columned table from the book php cookbook from o'reilly (quite useful) then I print it all insed the

Re: [PHP-DB] mySQL searching through serialized arrays

2004-09-09 Thread Jason Wong
On Tuesday 07 September 2004 12:14, rolando g wrote: I am storing array of user IDs as TEXT using the serialize() function on the array, since several users, one or none can be part of each record... and I noticed that the serialized array has the values in double quotes like :21; for

Re: [PHP-DB] grid unsetting vars

2004-09-09 Thread John Holmes
From: Sancerni Veronica [EMAIL PROTECTED] when it is supposed to send the selected objects with a checkbox to the next page. It doesn't while everything works just fine without the grid. [snip] $td = td width=\$width%%\%sinput name=\$value\ type=\checkbox\ value=\$value\Add to Cart!/td;

Re: [PHP-DB] Newsletter and smtp

2004-09-09 Thread John Holmes
From: [EMAIL PROTECTED] While sending newsletter, using mailing list, php script is able to connect to database, retrieve emails, however is unable to send newsletter or email. I am using localhost. I have SMTP installed on local machine. Any guidance

Re: [PHP-DB] Newsletter and smtp

2004-09-09 Thread Remember14a
Dear friends, I have pasted INI file and error its giving, while sending newsletter.Any guidance, please. -- Warning: mail(): SMTP server response: 554 5.7.1 (IPT:OA) Use port 587 to send mail from your AOL screen

[PHP-DB] ODBC Column Name Truncation

2004-09-09 Thread Anthony Robins
When retrieving ODBC results from Sybase SQL Anywhere 6 and 9, the column names are being truncated to 31 characters. -- ?php $DBN = 'thedbn'; $UID = 'theuid'; $PWD = 'thepws'; $CONN = odbc_connect( $DBN, $UID, $PWD ) or die( Cannot connect to $DBN.); $sql = select * from crap; $result =

Re: [PHP-DB] ODBC Column Name Truncation

2004-09-09 Thread Robert Twitty
The reason is because the buffer used by the odbc extension to store field names is only 32 bytes. You can try using the sybase or odbtp extension. Otherwise, you will have to submit it as a bug, so that it will be fixed. -- bob On Thu, 9 Sep 2004, Anthony Robins wrote: When retrieving ODBC

Re: [PHP-DB] Please help

2004-09-09 Thread Stuart Felenstein
Just getting back to this thing. There are 3 files involved, search.php, connections.php and functions.php. I searched through all and couldn't find the meaning of the $sql_ext. $sql is just the sql statement I inserted into the code. Great that I can't get a response from the company. If