Looks like you are not using the right username/password - or that there is no user named root.
From the MySQL commandline, which you'll find in mysql\bin, you can try it - say your username is root and your password is 1234, you type:
mysql\bin>mysql -uroot -p1234
That can tell you if...
You can also ask MySQL to do the date_format for you.
Example query:
SELECT DATE_FORMAT(your_date_field_name, '%m-%d-%Y') FROM your_table_name WHERE some condition or however you select...;
Best,
Jakob
You can have Apache webserver detect the user-agent and then re-direct mobile clients to a mobile-optimized version of your pages ... not sure if this is what you're looking for, or?
If it is and you're familiar with re-write-conditions then look at this...
Like jpadie says -entirely possible that the script is far far away from your index.php:
Can be a prepend script file; ie. a script that is, well, prepended -duh :p make a phpinfo() and look for Configuration, PHP Core to see if the [b]auto_prepend_file[b] directive has any values set (in wich...
I can't get PHP to read/output utf8 text from MySQL.
Setup - win32, MySQL 5.1.30, PHP 5.2.8
My table is created like this:
CREATE TABLE `pages` (
`ID` int(11) NOT NULL AUTO_INCREMENT,
`path` varchar(100) DEFAULT NULL,
`pageTitle` varchar(100) DEFAULT NULL,
`updatedOn` datetime DEFAULT...
I would use javascript to validate information (format) before submitting. Something like:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Customer Registration...
Events apply only to DOM elements, but there are alternatives to browser prompts that you might want to consider, depending what you want to achieve...
LKB6, you describe how you want to do "it" -but explain, in words/pictures/links, what "it" is you want to do for layout - Please elaborate, then we can point you in the right direction...
I have used FPDF succesfully -however, I got a special project that required CMYK capabilities and then I stumbled over tcpdf - very good documentation, I recon.
Good luck!
Agree with Vragabond -hard to tell without code, but I would say:
Left tree, left-floated
Right tree left-floated
-both wrapped in a div ...
Post some code if it still bugs :-)
... I should add -the desired function as called by a onChange-event will be fired, but initially as a onLoad-event, hence not requiring "initial" change state to fire the desired event-funtion. But as long as it's the same function, it will yield the same result ... (without initial...
If I read Albion's question correct, he needs to fetch the selected index to do some "whatever-he-needs-to-do-function"; and this will accomplish just that:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html...
Hi,
I've been using both fpdf and tcpdf libraries/classes in the past. However, now I need to generate PDF/X3 compliant pdf files - and neither of the two libs mentioned here can do that.
I found one -PDFlib, but that is a commercial licensed product.
Do you know of any freeware PDF/X3...
One more advice, Anders. When working with javascript I recommend to use the FireFox browser because it is much better for troubleshooting compared to IE.
If you like FireFox, you should get the FireBug extension too - very nice web development tool.
Links:
FireFox
FireBug
Jakob
Hi Anders
I absolutely agree with Chris that you should pick up some basic knowledge on Javascripting.
You can Google for a tutorial that match your own learning style - I found these two:
http://www.w3schools.com/js/js_intro.asp - they have excellent JS, HTML, CSS etc. references as well...
Jez,
The difference in width seems to be caused by how browsers renders the drop-down arrow. This you have no control over.
However, this will keep the illution (only tested in FF2 & IE6):
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"...
Dan is right - pixel perfection is an illution.
Didn't try this, but give it a swing: Try adding padding : 0; to your select style to see if that renders any difference. Sometimes is does. May not in this case though.
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.