Category Archives: Technology

PHP explode and trim the results?

php.net – where I posted this Overview This is something that I used to use on this site before I went to WordPress. If you checked “view source” and looked at the meta keywords, you would notice a comma separated string. When programming, you may want to take a comma separated string and grab the… Read More »

JavaScript stripslashes

Sometimes you have to add slashes to javascript text. PHP has it built in, javascript does not. Here is the code to put into your javascript to get the same functionality: function addslashes(str) {      str=str.replace(/\\\\/g,’\\\\\\\\’);      str=str.replace(/\\’/g,’\\\\\\”);      str=str.replace(/\\”/g,’\\\\”‘);      str=str.replace(/\\0/g,’\\\\0’);      return str; } function stripslashes(str) {      str=str.replace(/\\\\’/g,’\\”);      str=str.replace(/\\\\”/g,'”‘);      str=str.replace(/\\\\0/g,’\\0’);… Read More »

MySQL mysqli

mysqli is a built in part of mysql 4.1. It incorporates all functionality required to interact with a database from your PHP file. It has basics like querying the database, which includes SELECTing data as well as INSERTing data. It also give the ability to use prepared statements, transactions which can be committed or rolled… Read More »

Message To New Programmers

So you’re embarking on a programming career, are you? Personally, I’ve been graduated for only 1 year but my experience is technically 2 years, no pun intended, thanks to my co-ops while in college. Before I get so far into my career that I forget my education process I figure I should record it so… Read More »

Daily Bible For Droid OS

Bible devotional for the Droid OS that combines a daily verse, daily reading, devotions, sermon podcasts, and social network sharing. Pros: – Reads your verses and daily reading to you – Let’s you share verses and readings with Facebook, Google Buzz, and Twitter – Displays daily reading plan verses – Search functionality with voice recognition… Read More »