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”) [...]
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 [...]
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 [...]
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!