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: *

  1. peterv12

    fetch vs. fetch_object in PDO, which to use when?

    Thanks jpadie! I did some more searching of the PHP manual after reading your reply, and it makes sense now! PETERV 17" MacBook Pro Snow Leopard 10.6.7
  2. peterv12

    Connection script not working....

    ramam1, thanks for the info. PETERV 17" MacBook Pro Snow Leopard 10.6.7
  3. peterv12

    Newbie needs Apache Test Certificate help!

    I am running a web server on my localhost using XAMPP. I'm running on a MacBook Pro using OS X 10.6.7. I've searched the web looking for information, but found nothing that helps. I want to establish an https session, and from what I understand, I need to configure Apache to use the test...
  4. peterv12

    MySQL Workbench - Can't connect to MySQL databases

    SOLVED - the problem was that I had to find and specify the path for the mysql.sock file. PETERV 17" MacBook Pro Snow Leopard 10.6.7
  5. peterv12

    MySQL Workbench - Can't connect to MySQL databases

    I'm having trouble with MySQL workbench on Snow Leopard. I use XAMPP to connect to MySQL, and it works perfectly, and connecting from the terminal command prompt works perfectly as well. When I attempt to connect using MySQL workbench, however, I get the following error: "Failed to Connect to...
  6. peterv12

    fetch vs. fetch_object in PDO, which to use when?

    I've searched the PHP documentation, and can't find an answer for this. When coding PHP using PDO, what is the difference between using fetch and using fetch_object? Everything I've read about them seems to say they do exactly the same thing. Thanks, Peter V.
  7. peterv12

    Parse error: syntax error, unexpected T_Class in Box.php

    Thanks j! I'll definitely make a note of this, and change my code. Peter V.
  8. peterv12

    SPFSE on XP SP3

    papadba, FYI, the reply from CTC is incorrect. I was an original beta-tester for their original SPF/PC product in the late 80's. SPF/PC does, in fact support REXX edit macros as it's only macro language. SPF PRO 5.03 is the last version of CTC's product that uses REXX as their macro language...
  9. peterv12

    Parse error: syntax error, unexpected T_Class in Box.php

    Duh! brain-cramp! Thanks....
  10. peterv12

    Parse error: syntax error, unexpected T_Class in Box.php

    I'm attempting to learn OOP PHP using a tutorial I found on the web. I'm running the code in an OS X terminal. The code is: <? php class Box { var $contents; function Box($contents) { $this->contents = $contents; } function get_whats_inside() { return...
  11. peterv12

    Connection script not working....

    Thanks to all. What I did was reinstall PHP. It seems that the original installation must have been missing something, because it all works now. I do, however have two new questions: jpadie, I'm new to PHP, so I'm learning it as I go along by searching web tutorials. die is what I've found...
  12. peterv12

    Connection script not working....

    Guys, I thought I had already posted a reply to your replies, but thank you both for the informaion. The initial problem was resolved by Don's suggestion to check the php.ini file. I've also removed the 'PROJECT' parameter per ingresman's suggestion, but I'm getting the following error now...
  13. peterv12

    PHP Can't connect to MySQL

    ingresman, I understand. I posted over there because I thought this one might be the wrong place. I didn't know how to close this one, before opening that one. Sorry.
  14. peterv12

    PHP Can't connect to MySQL

    I'm trying to connect to a MySQL database, PROJECT1, using a PHP script. This works perfectly in OS X, but when I run this in Kubuntu Linux, the first echo statement executes, displaying "before link....", then nothing happens. It should display the "after link...." echo statement. <?php //...
  15. peterv12

    Connection script not working....

    I'm not sure if this should be in the MySQL section, or the PHP, so if it should be elsewhere please let me know. I have a small PHP/MySQL project. It has a PHP front end that connects to a MySQL database. It works perfectly on OS X, but when I attempt to run the script on Kubuntu Linux, it...
  16. peterv12

    Can't connect to machine on LAN

    I'm running a small home network, with 3 Windows XP Pro SP3 machines and one OS X Snowleopard MacBook Pro. I've run this network for a few years, but one of the XP machines hard drives died, so I had to replace it and reinstall XP. I've added it back onto the network, but now it asks for a...
  17. peterv12

    SPFSE on XP SP3

    Has anyone had any success in getting REXX edit macros to work on SPFSE? I have SPF PRO 5.03, but SE changed to use C instead of REXX. MARK MACDONALD posted about a year ago that he had gotten REXX working, so I'm hoping someone can help me out. Thanks, Peter V.
  18. peterv12

    How to make a Unique Multiple column (from multiple tables) Index

    I have a small database with 2 tables. One is mybooks, one is myauthor. What I want to do is create a unique multiple column index from columns in each table. What I'd like is essentially this: From books table: Title From authors table: Name New Unique Index: Title+Name Where the New...
  19. peterv12

    PHP/MYSQL connection problem on OS X Snow Leopard

    jpadie, Thank you. This worked (as you probably knew that it would.) I am a little confused, however. I am a novice at this type of programming, but I have been using the 'localhost' literal for months, and it's worked just fine. The problem started a few days ago when Apple released an OS X...
  20. peterv12

    Is there any way to display the passwords in the user table?

    I thought I needed to have the old password to change it. Everything I read said <old password> <new password>. If this isn't the case, would you mind posting the correct syntax for me? Thanks...

Part and Inventory Search

Back
Top