Welcome to TheCredence.com - You may like to subscribe to our RSS feed to stay updated.

Well I wanted to copy one column to another column in mysql and wasn't sure what query to perform. Thankfully MySQL IRC came to the rescue again. Just run this query -

UPDATE table_name SET column1 = column2;

Continue reading...

Comments (3) Posted by TheCredence on Monday, December 10th, 2007


RSS feed is one of the essential component of web 2.0 and It has now become a must to have RSS feeds on a site. RSS provides the user a mode of looking at the content whenever it get published in there readers, saving there time. By default, when you use blogger, wordpress or any blogging software, it automatically creates an rss feed and shows an image on the address bar. A person just to click on it and he can subscribe it to. You should be able to see the same in my address bar :) If you are finding this blog interesting than I will advice you to subscribe to it :) as I am trying to put atleast 2-3 informative post daily in it. :)

Anyway Today we will learn how to create RSS feeds using PHP but let me explain
its structure a little for those who are very new to this. Continue reading...

Comments (3) Posted by TheCredence on Friday, August 24th, 2007


I had installed a new plugin today linklove, now with this plugin all the links in the comments will become Follow which means page rank "juice" can be flown to them and more important, I feels good link should get due credit. But this post is not about why links in blog should be follow but this is about this error which I got while saving site css file in theme editor.

 
Warning: Cannot modify header information -
headers already sent by (output started at
/home/name/public_html/wp-content/plugins/allpassion-linklove.php:59)
in /home/name/public_html/wp-admin/theme-editor.php on line 55

Continue reading...

Comments (2) Posted by TheCredence on Sunday, August 12th, 2007


One of the best things about PHP is that anything can be a variable, and that these variables do not have strong typing.  What this means is that you don’t have to declare what a variable is when you create it- and you can put anything inside of it.  ANYTHING.  Objects.  Functions. You name it.

The reason why this is so powerful is because you can create truly dynamic objects for coders to overload.  The real benefit in this is in the field of AI (artificial intelligence) and GUI programming.  With GUI programming you can make a button class, or a form class than simply have the user swap in and out functions in order to change functionality.  As long as the functions have the same arguments, you will have complete interoperability with little work.

Continue reading...

Comments (0) Posted by TheCredence on Thursday, August 2nd, 2007


I know- it is a necessary evil. One that not too many developers are skilled at- bug hunting. Bug squishing. Getting rid of those nasty, unprepared surprises that completely took you by storm.And too many web developers/php coders are inexperienced at tracking down and squishing bugs. Here, I’ll give you some simple tips and tricks in order to cut down on the amount of time it takes to kill bugs in three simple steps.

1-Look at the debug output
Which can sometimes be cryptic, and other times not actually seeing the correct error. For example, if you are missing an end bracket, it won’t give you the proper line at which the end bracket is missing. Only tell you that there was an unexpected end.

Continue reading...

Comments (0) Posted by TheCredence on Sunday, July 22nd, 2007