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 TouchToneTommy 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 natefanaro

  1. natefanaro

    Ordering mysql

    Sorry, didn't mean to post an answer to a question that has been answered. hos2 posts quicker than I do :) I should learn to make my answers shorter
  2. natefanaro

    Ordering mysql

    "SELECT * FROM users ORDER BY score" Is good but I'm not sure what way it will be ordered. I usually specify ASC (ascending - lowest to highest) and DESC (descending - highest to lowest) to determine the order. so it would look like "SELECT * FROM users ORDER BY score ASC"
  3. natefanaro

    save an email attachment to the server

    I'm not quite sure what you mean. I'm using the imap extensions in php. Sorry I don't know too much about this stuff but thanks for trying to help!
  4. natefanaro

    save an email attachment to the server

    I am trying to take an attachment from an email and store it on the server. After it's done I'll delete the message so it can go through the process again. I can read the message just fine, I can remove messages, I know how to create a file on the server, but I have no idea how I would make just...
  5. natefanaro

    finding mail server name via php

    I'm working on a web based mail client using php. I want people to enter in their email address and password and log in to their mail account. In order to check the mail box I need the name of their pop3 server. Most are just mail.theirdomain.com but are sometimes different. Is there any way...
  6. natefanaro

    display what is clicked on in a frame

    I am looking for a way to show the link that is clicked on in a seperate frame. Here's what it would look like: -------------------------------- | |show what was clicked below | (ie. google.com) -------------------------------- | |...
  7. natefanaro

    display what is clicked on in a frame

    I am looking for a way to show the link that is clicked on in a seperate frame. Here's what it would look like: -------------------------------- | |show what was clicked below | (ie. google.com) -------------------------------- | |...
  8. natefanaro

    adding text if it does not exist

    ok, it didn't work origionally but I played around enough to get it going. I think you added a period here: $text=&quot;http://&quot;; . $text; by mistake. Thank you very much for your help. here's a page that i whipped up. You can try it out if you would like. <? if ($submit){...
  9. natefanaro

    adding text if it does not exist

    I am looking for something that will add http:// if it does not exist in a form. If it does exist, don't add http:// so www.yahoo.com would be changed to http://www.yahoo.com http://www.google.com would not be changed at all. I think that I would have to use regular expressions, or...
  10. natefanaro

    retrieving last auto _increment number

    nevermind, it works. thanks!
  11. natefanaro

    retrieving last auto _increment number

    Thanks, just tried it but it returned a value of 0. // begin $lastid = mysql_insert_id(); echo $lastid; // end So it doesn't look like it worked. any other ideas?
  12. natefanaro

    retrieving last auto _increment number

    I have seen the LAST_INSERT_ID() function but for some reason it either will not work for what I am looking to do, or I was using it wrong. I am trying to get the last number that is given by the auto_increment number in mysql. But when I look for info on LAST_INSERT_ID(), it's always used in...
  13. natefanaro

    question about how to find the value with the largest number

    Daniel, you rock. Works great. KarveR, you were a tad too late, I tried Dan's before you posted, but thanks for the help!
  14. natefanaro

    question about how to find the value with the largest number

    I am trying to find out what value has the largest number, then display the appropriate result from a database. $a, $b, and $c all have a number value. (1-5 so far) and whatever is the largest value, it will show the corresponding value ($a shows $num1, $b shows $num2, $c shows $num3). I am able...
  15. natefanaro

    Problem with radio buttons and php

    darn, that worked but that screws up what I was doing kind of. I used result1=1 in the next page where it took that number and added it to another variable. eh, I'll think of something. thanks though!

Part and Inventory Search

Back
Top