I just set up wamp on my system. when I go into phpmyadmin I get this message at the bottom of the screen that says
Your configuration file contains settings (root with no password) that correspond to the default MySQL privileged account. Your MySQL server is running with this default, is open to intrusion, and you really should fix this security hole by setting a password for user '.root'.
Can someone tell me where I can set this password?
I am looking to buy a book on php and was wanting to know if anyone knew of a really good book that goes into great detail. I think I really like this one from amazon as suggested by php.net
http://www.amazon.com/PHP-MySQL-Dynamic-Web-Sites/dp/032152599X/ref=sr_1_1?ie=UTF8&s=books&qid=1231818264&sr=1-1
anyone got anything to say about it?
I am working on learning php. I want to work with wordpress more. I have seen two symbols. Not sure what they are called. maybe you can tell me. One looks like this -> the other looks like this =>
case in point. Here is a line from wordpress to get the post
<?php $recent = new WP_Query("cat=12&showposts=0"); while($recent->have_posts()) : $recent->the_post();?>
so is the line above saying that $recent is equal to having a post? what does the -> mean in the line above?
if you could be as detailed as possible with an explanation, it would be greatly appreciated. thanks.
it seems that I get the error because of a <br /> tag.
<?php echo "hello world"; <br />
print "hello world"; <br />
echo "hello" . " " . "world"; <br />
echo 2+3; <br />
echo 2+9; <br />?>
The tutorial I am watching says that the server wouldn't care about the br tag. but it does in this version
I am learning php. Just started. I was messing with echo and I found that if you do
<?php echo "hello world"; ?>
it prints hello world.
but if you do
<?php
echo "hello world";
echo "hello again";
?>
You get an error. can anyone tell me why?
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.