[PHP] mysql went away

2004-05-12 Thread Bill Green
databases or tables, and though I haven't tried I doubt I'll be able to create, delete, or backup databases or tables. Does anyone have a clue about what the problems may be or where I should start? --- Bill Green [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net

[PHP] drop down list of years puzzles me

2004-01-20 Thread Bill Green
This works to create a drop down select box of numbers 1-12: for($i=1; $i 13; $i++) { echo option value={$i}.$i./option\n; } This doesn't to create a drop down box of years: $curr_year = intval(date('Y')); $range = 10; for ($y=$curr_year; $y $range; $y++) { echo option

RE: [PHP] mail question (mime)

2003-12-17 Thread Bill Green
Thanks for your replies. Figured it out, just blind. The $headers were written correctly (except for \r\n at end of lines though \n seems to work in this case). The problem was in the call to the boundary, the boundary has to start with -- outside the quoted string definition of the boundary, and

[PHP] mail question (mime)

2003-12-16 Thread Bill Green
Greetings all. In an effort to understand more about mime mail with php, I'm writing a little function to send a multipart/alternative encoded mime mail from a browser interface. I know you guys have answered these types of questions many times, but I've googled and research til I'm blue. I'm

[PHP] mail question (mime)

2003-12-16 Thread Bill Green
Greetings all. (hope this isn't a second post, first try seemed to fail) In an effort to understand more about mime mail, I'm writing a little function to send a multipart/alternative encoded mime mail from a browser interface. I know you guys have answered these types of questions many times,