Nope, if it's just printing out your code, you've got a while to go.
You need to tell apache how to interpret .php files. How did you go about installing each of these? Might I suggest using XAMPP (http://www.apachefriends.org/en/xampp.html) to install PHP/Mysql/Apache on your machine so its...
Yes, using mysqli is deliberate. Using mysqli is recommended by the PHP manual and is much, much more robust. Its also object oriented, which is good for new programmers to see.
newtomysql, you can't click on the localhost link because localhost points back to your computer, it points to the IP...
Ok, there are several things to check.
1. Is apache running with mod_php enabled? If not, going to http://localhost/index.php will say page not found, or return a 500 status error.
2. Is mysqld running? You're on a Windows machine, so check your services and see if mysqld is running.
3. A...
Hello,
I've released a new open source PHP framework for fast and efficient web software development. It is named Artisan System and found at http://artisansystem.com
The current stable version is 0.1, however, 0.2b1 was just released, and 0.2 will be released before the end of the year. 0.2...
What does your php.ini file look like? Do you have the extension enabled in there?
What is the error you're getting to show that mysql support isn't enabled?
Is mysql not working as you don't have the server running, or is the mysql extension not working in PHP?
Hi,
I have a VBScript to automate a ReRasterize action I've created within Illustrator. The action takes the DPI of images (RasterItems) within an AI file from 300+ DPI to 72DPI. The action works fine, and I've got the script working to perform that script.
However, if the AI file is large...
Thanks for the help guys, but turning global off doesn't work.
Here is my code in its entirity:
<%
dim str, myreg, newstr
str = "this is a paragraph that {{{var1}}} contains {{{var2}}} absolutely nothing {{{var3}}}"
dim replaced(3)
replaced(0) = "value 1"
replaced(1) =...
Thanks for the replies, but I'm still having some trouble. The string that reads "this is a paragraph that {{{var1}}} contains {{{var2}}} absolutely nothing {{{var3}}}" should read "this is a paragrap that value 1 contains value 2 nothing value 3"
I want to replace the...
Thanks for the response. One question though: how do I replace the values found in the string with values in an array. For example, I modified the code to read:
<%
dim str, myreg, newstr
str = "this is a paragraph that {{{blah}}} contains {{{blah}}} absolutely nothing {{{blah}}}"...
Hello, been a while since I've been here. :)
Here's my question: I am writing a template class and I want to use Perl regular expressions. This is easy. However, I can't get the replace function to work.
For example, in Perl, all you have to do is:
$_ =~ s/blah/replace/;
Which replaces...
Hello:
I was wondering if ASP supports associative arrays (also known as hash arrays or name/value pair arrays)? An example in PHP would be:
$array['name'] = "value";
However, if I try:
dim my_array(1)
my_array("name") = "value"
I get a parse error. Is there...
Nevermind, I found the answer:
<%
dim oConn, ors1
set oConn = Server.CreateObject("ADODB.connection")
oConn.Open "DSN=dsn_here"
set ors1 = oConn.OpenSchema(20)
ors1.movefirst
while not ors1.EOF
response.write(ors1("Table_Name") & "<br />")...
Hello.
I come from a PHP/Perl background and have recently been forced into using ASP at work. I am having a problem with getting information about a database so that I can work with it. Specifically, how do I find out the names of the tables in the database?
I am using Access. In PHP, I could...
Hello:
I've got a value in a database stored as a string but its in the form of a date like 7/08/02. It has to be stored as a string because its in a configuration table and the other values can be strings as well, so its just easier to make it a date.
I load the value from the database and...
Actually, I found out there is a maximum number of fields that can be updated at one time; it is 40.
I found a bunch of info on it at http://support.microsoft.com/default.aspx?scid=kb;EN-US;q192716. Rather than just messing with Access, we decided to switch to SQL Server, which can handle just...
Use the split() function like so:
$variable = array()
$text_line = "Here is some text;Here is some text;Here is some text";
$variable = split (";", $text_line);
Hope this helps.
-Vic
vic cherubini
krs-one@cnunited.com
Hmm, I still don't think you are giving enough information. You do realize that the mysql_query() function does not connect to the database, right?
I think you want something like:
$conn = mysql_pconnect("hostname", "username", "password") or die("Failed to...
Hello:
I am new to this specific forum, and really new to ASP, so please bear with me.
I have an Access database that has a table with literally hundreds of fields. All is well, apparently Access lets you do that.
However, I created a query that updates the table all at one time. To give you...
Well, after the user presses the submit button and goes to the page that inserts the SQL, have that page redirect him to somewhere else. On the page that inserts the SQL, say something like "You're stuff has been added. In 3 seconds, you will be fowarded to another page." And then add...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.