You are here: Daniel Dumas »

October, 2008

Internet Explorer (IE) or CSS Conditional Statements

Internet Explorer conditional statement or CSS Conditional statements is a bit of code specially made for Internet Explorer browers which instructs ie browser to perform specific instructions only for internet explorer browser, only windows platform supports ie conditional statements.

the basic structure or syntax of conditional statements is just.. Keep Reading…

Comment Luv + Linky Luv = Link Love (Do Follow)

Weeee my blog is now a do follow blog thanks to lucias’ linky love do-follow plugin for wordpress this plugin is shared to me by Andy bailey the creator of Comment luv plugin. i set linky luv plugin to make links do follow after 5 comments so that my loyal commenters can benefit for sharing their ideas :) actually its been a week since i found this plugin and i have seen many blog sites using these two plugins together which Keep Reading…

Wordpress User Online and PostViews plugins

Wordpress Plugins

Yahoo. . i just installed another plugin from my blog its the WP-UserOnline and WP-PostViews Plugin thanks to lester of lesterchan.net for he is the creator of these wonderful plugins..

WP-UserOnline

It enables you to display your online visitors with detailed statistics of who they are and where they are in your site. visitors that can be monitored are registered users, guess and bots. for online demo of this plugin.. Keep Reading…

Fix wordpress fatal error allowed memory size exhausted

Fatal error: Allowed memory size of …… bytes exhausted (tried to allocate …. bytes) in home/of/some/thing/fishy.php :)

Wordpress Fatal Error allowed memory size exhaustedI experienced this weird Wordpress or rather PHP error last night when trying to view my blog when i got home, at first i thought that there was a technical problem at my server so i waited, then i waited and waited and waited again for almost 7 hours then i cant wait no more i want to blogggg… so i contact my hosting provider and they told me that there is nothing wrong with the server nahhh WTF! i told to my self. . :) Keep Reading…

Making wordpress blog URL search engine friendly

Wordpress LogoMaking your wordpress blog URL search engine friendly is a must if you want to drive more traffic to your wordpress blog, why? the answer is very simple clean blog URL’s help crawlers or spiders to crawl your site easily thus helping your page to get indexed easily. after some intensive research i found these pointers in choosing the best url for wordpress blogs.

Pointers for choosing Wordpress blog URL from Worst to BEST!

  • http://yourblog.com/?p=123
  • http://yourblog.com/index.php?id=123
  • http://yourblog.com/2008/10/20/sample-post/ Keep Reading…

Search Google 2001 ?

Google 2001 Logo

yes you heard it right folks! i dont know about this until i find this out just today anu raw hehe maybe some of you already know this but to to others who dont well check it out. As google’s celebration of its 10th year aniversarry the big G yes the big G lets you search their index way way back in 2001. . yes you Keep Reading…

PHP and MySQL Basics: Assigning and Using Variables

Assigning a value to PHP variable is very easy, you can use the assignment operator ( = ) to store values into a php variable. refer below for example.

<html>
<head>
<title>Assigning Values to PHP Variable</title>
</head>
<body>
<?php
//this is how you assign a value to a php variable
$age = 20;
//To use the variable $age, simply call its name and PHP will substitute its value at runtime.
//this is how you use a php variable
echo "I am now $age years old";
?>
</body>
</html>

copy and paste the code above to your text editor and save it as variable.php then run it on your localhost.

you should get this output.. Keep Reading…

PHP and MySQL Basics: Variables

Variables are the building blocks of any programming language. in PHP variables are very important, it used to store numeric or non-numeric datas. PHP supports different types of variable types (Booleans, Integers, Floating point numbers, Strings, Arrays, Objects, resources and nulls.

PHP VARIABLE NAMING RULES:

  1. PHP variables starts with a $ sign : example. $daniel
  2. $ sign is followed by a letter or an underscore. thus $123 is not a valid PHP variable. Keep Reading…