Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by QuietFire

  1. QuietFire

    Forwarding Sent Mail from server

    Greetings, I have been searching through the Squirrelmail source trying to get a handle on php mail handling functions. I had been using Squirrelmail quite a bit, but realized that I want to have a copy of my sent mail on my computer. My goal is to write a light weight script that will loop...
  2. QuietFire

    mail() in html with clickable links

    DISREGARD!!! I see my error. was using a script someone handed me for the project... just saw the striptags and solved it anyway. THANKS ANYWAY. CODERS should sleep at least 3 hours a night!
  3. QuietFire

    mail() in html with clickable links

    Simply trying to put a remove me link in a news letter. The remove me line does not contain the link. I have a variable with the string for the link: $remove=" \n \n Click <a href='removeme.php?email='" . $recipient . "'>Here</a> to unsubscribe."; Then I have the function: function...
  4. QuietFire

    OKay I'm Rusty! Textarea questions

    Thanks to All. vbkris Concise complete answere! I figured out the line breaks saved in the table when I dropped the data back into a textarea for editing they were magicly there! Another project or to like this and I'll no longer be a "rusty" programmer! Charlie
  5. QuietFire

    OKay I'm Rusty! Textarea questions

    So I've been out of programming for a year and when I was in it it was a different language! My question is simple. I have a textarea on a form. I want to be able to store the linebreaks with the text in a text feild on a mySQL. I have a distant memory about looping throught the text lines...
  6. QuietFire

    Nested selects in mySQL with PHP?

    ORettinger.. I'm a little rusty...[blush]
  7. QuietFire

    Nested selects in mySQL with PHP?

    I can find a longer way around my problem, but when I was doing a lot of asp/MS SQL stuff I sued to do write some pretty specific queries. I tried this through phpMyAdmin and received syntax errors. I guess what I want to know more than anything is, is it possible in php/mysql? SELECT...
  8. QuietFire

    mysql_fetch_array(): supplied argument is not a valid

    Actually I found the problem: WHERE (email ='$email' OR username='user_name')"; was missing the $ at ='user_name') I was getting results somehow anyway! Not only that I found some flaws in my logic. If the e-mail already exists, it doesn't matter if the username was taken by someone else, the...
  9. QuietFire

    mysql_fetch_array(): supplied argument is not a valid

    kenrbnsn, Good thought for the error reporting, but the query was going through. Woody, The error reporting didn't snag the query until I put in th brackets! But I am going to look for a list of resever words to avoid that in the future. This is going to be a fun one! Charlie
  10. QuietFire

    mysql_fetch_array(): supplied argument is not a valid

    Greetings all. I'll admit I'm far more comfortable with asp/sql than php. I know exactly how to acheive the result I'm looking for there. Anyhow I'm getting a "Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /blabla/update_user.php on line 54" error...
  11. QuietFire

    php mail() display name header.

    Thank you both for the info. I should have posted rather than just use the thank user function. WoodyRoundUp's answer got me where I needed to be. The display name has no commas ansd is not likely to change, but I will try to remember it for the future just in case. That is the sort of thing...
  12. QuietFire

    php mail() display name header.

    I am trying to make a display name show up in an email: $headers = "From: test name\r\n"; mail($to,$sub,$mess,$headers); My email shows: test@xxxx.xxxx.com, name@xxxx.xxxx.com I know there has to be a way to get "test name" to come through by itself! Thanks, Charles

Part and Inventory Search

Back
Top