[PHP-DB] Re: removing a # from a string

2003-07-02 Thread Joseph Szobody
How would I remove a # from a string? I want #2 to be 2. $str = #2; $str = str_replace(#,,$str); -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] PHP and Sendmail

2003-03-16 Thread Joseph Szobody
Chris, Check out this PHP class. It's pretty impressive. http://phpmailer.sourceforge.net/ Joseph Chris Payne [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi there, I have an SMTP server on here (Imail) - how would I use it with PHP? Any tips to send a quick email as a test?

[PHP-DB] PHP, dates, and MySQL data comparisons

2002-10-01 Thread Joseph Szobody
I have a table with a Date field (-mm-dd) and I would like to retrieve all rows with the date less than one week ago. Something like SELECT FROM table WHERE date one_week_ago_today. This seems like it should be so simple... yet I'm not getting it. Any help is appreciated. Thanks,

[PHP-DB] PHP - MSSQL

2002-09-20 Thread Joseph Szobody
Folks... I have a situation where I need a Visual Basic program, running on a win2k server to store some data. I later need a PHP script to come along, retrieve and parse that data. I have a MS SQL server running on the win2k server along with the VP program. I then have a RedHat/Apache box