Some Little News

  • Home
  • Contact Me
  • Categories
    • css
    • flash
    • Flex 4
    • General
    • JavaScript
    • Panorama
    • Personal
    • PHP
    • Reflections
    • Resources
    • Tips&Tricks
    • Web resources
    • Web services
  • teocomi's VR
  • teocomi.com
  • teocomi Flash
  • Subscribe via RSS

Batch replace string in wordpress table

May 18th, 2010  |  by teocomi  |  published in Tips&Tricks

Today I needed to replace LOTS of values inside a wordpress database, especially the meta_value in the wp_postmeta table. This solution will allow you to only replace values with a specified meta_key. It is very usefoul if you are using (like me) some “custom values” plugin in your posts.
UPDATE `YOUR_WORDPRESS_DATABASE`.`wp_postmeta` SET `meta_value` = REPLACE(`meta_value`,”OLD_STRING”,”NEW_STRING”) [...]

Flex Database Excel Tutorial – Part II [Beginners]

January 21st, 2010  |  by teocomi  |  published in Flex 4

In this previous tutorial I simply showed how to create a service in Flex and how to use it to create something in the database. Now we’ll use the service to get al the items in the database and to populate a DataGrid.
So, let’s open the project and create a DataGrid:
not difficult hu? Okay and [...]

Flex Database Excel Tutorial – Part I [Beginners]

January 20th, 2010  |  by teocomi  |  published in Flex 4

PART I – Creation of the database, connection to the database, creation of items in the database
In this tutorial I will create a simple application to show you how to connect to a database in Flex 4 using the Data/Services functionality and PHP. FinallyI will also show you how to export data into an xls [...]

PHP 5.3.0 bug: only 256 char in predefined statements

January 19th, 2010  |  by teocomi  |  published in PHP

I use XAMPP to test my Flex applications, and I noticed a bug with version 1.7.2 sice it is using PHP 5.3.0: the default flex sercives will just retrive the first 256 charcters of the text stored in the database.
To solve it simply update to PHP 5.3.1 or update XAMPP to 1.7.3!

Tag Cloud

360 actionscript 3 adobe blog css data database download easy email example excel facebook firefox flash flex Flex 4 free google html html5 image learn local mysql new online Panorama Personal PHP plugin register resize save server service spark teocomi test tutorial web website windows wordpress xls

WP Cumulus Flash tag cloud by Roy Tanck and Luke Morton requires Flash Player 9 or better.



©2010 Some Little News
Powered by teocomi using the Gridline Lite theme.