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.
User Profile
Collapse
-
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....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/mysqlLeave a comment:
-
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.Leave a comment:
-
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...Leave a comment:
-
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.Leave a comment:
-
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
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 :)Code:echo($row['column_name']);
Leave a comment:
-
I do all of my QT work on linux workstations and I use QDevelop, which works nicely for developing QT apps
http://qdevelop.org/...Leave a comment:
-
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);Leave a comment:
-
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 HTMLLeave a comment:
No activity results to display
Show More
Leave a comment: