User Profile

Collapse

Profile Sidebar

Collapse
JMathews
JMathews
Last Activity: May 22 '07, 04:26 PM
Joined: Apr 11 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • you also have to add an environment variable in windows to the location where you have placed the php_mysql.dll or nothing will work:(

    Some people just cheat and place a copy of the .dll in the "%windir%/system32" directory.

    Otherwise you'll have to change the PATH statement in your windows environment to where you place it.
    See more | Go to post

    Leave a comment:


  • JMathews
    replied to Using PHP to load part of a page
    in PHP
    Yes you can do this in PhP :)

    What you would have to do is make a <form> for the selection and set the "Page" variable using it. Then use the submit button to pass the variable. You could also do this with an active Java control.

    Since PhP does it's work before the page is rendered, you would have to refresh the page to get the desired content out as the first pass would give the possible choices....
    See more | Go to post

    Leave a comment:


  • also make sure that your apache and php are setup to deal with mysql properly as PhP v5 drops mysql support "out of the box" and some extra configuration is required. An improper setup can manifest itself in strange ways unfortunately :(


    You can start a search for resources here:

    http://us.php.net/mysql
    See more | Go to post

    Leave a comment:


  • JMathews
    replied to XP-VISTA network problem
    This is probably more of a TCP/IP issue more than an issue of vista changing the settings for your network in your XP install.

    I would start by doing an "ipconfig /all" from a command prompt in your windows XP install and make sure that your addressing looks good.
    See more | Go to post

    Leave a comment:


  • JMathews
    replied to COmputer Filled with problems
    Windows probably won't work at all in these cases, since you re-installed on the drive while it was installed in a different machine.

    If I were you with this many problems is the following:

    1. Slave the hard drive into a different windows box and gather all of your data that you need saved onto the other machine.

    2.Wipe that drive and re-install windows in the original machine.

    3. Transfer...
    See more | Go to post

    Leave a comment:


  • JMathews
    replied to Question about Inline functions.
    in C
    Also remember that an inline function is a request to the compiler, so even though your function is written as an inline it may not end up that way in the executable.
    See more | Go to post

    Leave a comment:


  • JMathews
    replied to Connecting PHP to MS-SQL Server
    in PHP
    Generally, a blank screen indicates there is a syntax error in your script. So check to make sure that you are ok in that area first.

    I would also change the echo function output a bit since you seem to only want to print a variable
    Code:
    echo($row['column_name']);
    The return from a query in sql is an array, so you want to be sure that you are using the column names from the actual table :)
    See more | Go to post

    Leave a comment:


  • JMathews
    replied to How to install QT
    in C
    I do all of my QT work on linux workstations and I use QDevelop, which works nicely for developing QT apps

    http://qdevelop.org/...
    See more | Go to post

    Leave a comment:


  • JMathews
    replied to Connecting PHP to MS-SQL Server
    in PHP
    I would start by adding some debug strings into your php code:

    Code:
    <?php
        MSSQL_connect("ERIC2005","sa","sa") or die ("can't connect to SQL server");
        mssql_select_db("PS_SAMPLE_DB") or die ("can't select database");
        $get_item_sql = "SELECT * FROM PS_ACAD_PLAN";
        $OUTPUT =  MSSQL_QUERY($get_item_sql);
          ECHO($OUTPUT);
    ...
    See more | Go to post

    Leave a comment:


  • JMathews
    replied to new paragraphs in php mysql
    in PHP
    Have you tried the nl2br() funcion in PHP?

    This function will insert <br> in front of the \n normally associated with a line break, so it should look proper in HTML
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...