I think I got it to work. Instead of having the HTML form submit directly to the Iframe, I had it submit to a new page, but used the Iframe to display the results only.
Somehow, I think the NOT NULL property isn't working. I looked through the Information Schema on a GUI client, and did not see it. I created a MySQL table and set all rows to NOT NULL, yet it will accept null values.
I have created an HTML page that has an Iframe on it, linked to a PHP page...
I'm looking for a way to find the source of a form submit button click. On the page, I have 2 different <form> elements with 2 different names, serving 2 different objectives. But they are both parsed by the same PHP code, but I need it to figure out if the Withdraw button was clicked, or the...
I ran the following code in my Windows terminal, and got the error: Error 1046 - No database selected:
CREATE TABLE `database` (
`id` int(11) NOT NULL auto_increment,
`name` varchar(30) NOT NULL default '',
PRIMARY KEY (`id`)
) TYPE=MyISAM;
Google didn't answer my question.
Thanks.
I believe I've got it working, thank you.
I turned on startup errors in PHP.ini, and found out that I was missing php_mysql.dll. After a quick Google search, I downloaded it, put it in my PHP folder, restarted Apache, and ran the mysql_connect page again, and it said "Connected to MySQL."...
HTTP, PHP, and MySQL servers are all running localhost on my machine, and configured/setup. I am able to login and edit MySQL via Windows command prompt. But when I issue a PHP connect command and run the PHP page on my browser, I'm unable to connect. All other PHP scripts work fine.
Here is my...
HTTP, PHP, and MySQL servers are all running localhost on my machine, and configured/setup. I am able to login and edit MySQL via Windows command prompt. But when I issue a PHP connect command and run the PHP page on my browser, I'm unable to connect.
Here is my code:
<?php...
I am using CS2, and trying to import a simple XML file into InDesign. Tags and styles are correctly configured, because I am able to import an XML with one <root> successfully. However, it seems the problem occurs when I attempt to add a second <root> (which, if I understand correctly, is the...
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.