linein designs

Archive for March, 2007

Here’s a quick way to strip off characters from a string using PHP’s function substr. <? $var = ’05 Delete’; $var = substr($var,0,2); echo($var); // returns “05″ ?> If you wanted to strip off the characters from the end of a string, just change the “2″ to “-2″ and it will strip off the last [...]

Just another quick way to automate the simple process of creating HTML selects with a function. This small function with also remember which value was selected by checking it against the $_POST value and adding a selected=”SELECTED” to that option. 2 dimentional array: $people_array = array( ’1′ => ‘Bob’, ’2′ => ‘James’, ’3′ => ‘Jessi’, [...]

Being a very big music buff, I love being able to see what my music habits are. I’m currently using the most up-to-date version of Winamp, which does a good job of keep a history of what I listen to, but I wanted this info on the web for the world to see. Fortunatly, Last.fm [...]

Quite a few times during projects I only want to find a single value from the database. But rather than setting up WHILE loop, I’ve been using a quick function that does two things perfectly. Here’s the function: // returns single result function mysql_one_data($query) { $one=mysql_query($query); $r=mysql_fetch_row($one); return($r[0]); } // returns single array function mysql_one_array($query) [...]

No steering wheel or pedals, you drive it with a joystick. And mom said video games would never benefit me… look who’s laughing now. Still her… I can hear her from the basement.



  • john: There's no easy way to stop it within the InnerFade plugin, but you could just erase all the list items after you've cycled through them using jQuery.
  • Steven: Rachid, did you find an answer? Is there a way to stop by a picture at the end? Can anyone help? Thanks in advance!
  • htc smartphone: WP togo is going to be a great little example of just what kind of super-power these droids will offer like the htc aria and other htc mobile phones l


Please Support Our Friends

Send emails with ease on this SMTP server by JangoSmtp.com.

Banner

About

My name is John Veldboom and have been in design and web programing for just over 8 years now. Started off as a hobby in high school but it has developed into a full time job now. I always tell people that if I wasn't doing this at work each day, I would be at home doing it for free. I love it!

Please visit the contact page to drop me a message.