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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: peterv6
  • Order by date
  1. peterv6

    Select only duplicates

    I have a table with several columns, including one ID field containing a unique key. What I want to do is select all duplicate records from the table based on one of the columns, say the Item number field. Is there a simple way to do that? I know using unique can give me the non-dupe records...
  2. peterv6

    calculating dates

    Excellent, thank you very much! PETERV Syracuse, NY & Boston, MA
  3. peterv6

    calculating dates

    Can someone show me a simple way to calculate dates? What I'm trying to do is get a future or past date based on today's date. Example, if I want to know what the date is 3 weeks from now. thanks! PETERV Syracuse, NY & Boston, MA
  4. peterv6

    Positioning date & time on page

    tweenerz, If you check the webpage now http://www.vanderhaden.net/add_user2.php It looks like some kind of column spanning problem. Any ideas how to fix it? I want it to be on one line beneath the login button. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <!--...
  5. peterv6

    Positioning date &amp; time on page

    I have a web page (see code below) where I want to display the date & time below the submit button, after skipping one blank line. No matter what I've tried, the date & time keep coming out in the lower right next to the submit button. (You can view the page at...
  6. peterv6

    PHP New Line problems

    jaxtell & vacunita, thank you both for these examples. I'm using jaxtell's answer in my page, but I've removed the newline inside the quotes, as it is not needed when using the <br>. You both have been very helpful, I apreciate you both. Peter V. PETERV Syracuse, NY & Boston, MA
  7. peterv6

    Count of records returned needed in PHP script

    Thank you vacunita, this is exactly what I was looking for. PETERV Syracuse, NY & Boston, MA
  8. peterv6

    PLEASE HELP

    Also, try using a heading that describes the problem. Please Help doesn't tell anyone anything, and will most often be ignored. PETERV Syracuse, NY & Boston, MA
  9. peterv6

    Count of records returned needed in PHP script

    In the query below, I'm selecting all records in a table, in the future, I may be only selecting a few record from th table. Is there a way to get the count of records returned by the query, so that I can base what I do next on that count? Thanks! $query ="select * from usersTable"; $result =...
  10. peterv6

    PHP New Line problems

    Thanks for the info guys, it'll come in handy. Can either of you give me an example of how I could output this with line breaks to a web page using HTML? PETERV Syracuse, NY & Boston, MA
  11. peterv6

    PHP New Line problems

    After doing a little searching on the net, it looks like I'm doing this entirely wrong. Can anyone point me in the right direction? Basically what I'm looking for is how to format the error message from a MySQL query into a multi-line format for display in a web page. Thanks.... PETERV...
  12. peterv6

    PHP New Line problems

    I'm new to PHP, and I'm having problems with getting error messages to display on multiple lines. My syntax must be wrong, but I haven't been able to figure out the problem. I've tried: $query ="INSERT INTO usersTable VALUES ('0','karen','$encrypted_password')"; $result =...
  13. peterv6

    Newbie Text Alignment question

    The image is tiled. The link is: http://www.vanderhaden.net/Kindex.html PETERV Syracuse, NY & Boston, MA
  14. peterv6

    Newbie Text Alignment question

    What I want to do is have one image for the background. The way it is now, the top left 75% of the page is one copy of the image, and of course the rest of the page consists of 3 "segments" of the same image. All I want is one image for the entire background. Any way to do it? PETERV...
  15. peterv6

    Can I use CSS to size an image

    Mikey, Below I've listed my html & css code. Will your code: img.resize { width: 150; height: auto;} work with my stuff? I'm wondering, because I'm specifying the background image in my css, not in the html. As such, I'm a little confused as to how I would incorporate your code. If you...
  16. peterv6

    Can I use CSS to size an image

    Mikey, I'm new to this stuff, but what you added looks just like what I need. If I'm using this for my page's background image, how would I code the html for this? PETERV Syracuse, NY & Boston, MA
  17. peterv6

    Newbie Text Alignment question

    Is there a way to use CSS to create a "footer" for a web page? I want to print the output from the bold red lines below at the bottom of my web page. The other problem involves the page's background image. Is there a way to make the background image expand & contract depending on how the user...
  18. peterv6

    Can sql's DESC be run from a PHP script?

    I want to run the sql command DESC from within a php script. I'm new to this, and am not sure that this is possible. My attempt below runs with no errors, but gives no output. Can someone help me out with this? Any help is gratefully appreciated! PV <?php // Thursday, August 14, 2008...
  19. peterv6

    Strange processing message?

    Vragabond, I just found the include_once file, and that indeed is pointing to the wrong code. I commented that out, and it works correctly now. I'm very new to this, so please correct me if I'm mistaken, but I would only need to have the include_once statement in this script if I need to...
  20. peterv6

    Strange processing message?

    Forgot to mention: According to the book, I should actually be getting this output: Result set has 9 rows. Number of rows: 9. PETERV Syracuse, NY & Boston, MA

Part and Inventory Search

Back
Top