Hello, I would like to make a String Manipulation with PHP before putting the data into mySQL, is there an action before to use function for this? let me know.
I will use some of these functions of php:
nl2br()
strtolower()
etc.
chichi
String Manipulation before putting the data into mySQL
5 posts
• Page 1 of 1
String Manipulation before putting the data into mySQLHello, I would like to make a String Manipulation with PHP before putting the data into mySQL, is there an action before to use function for this? let me know.
I will use some of these functions of php: nl2br() strtolower() etc. chichi
Re: String Manipulation before putting the data into mySQLWhat do you mean by string manipulation? PHP is a full-fledged programming language that allows you to manipulate strings any any way you can imagine. E.g. check out this page for a list of PHP's string functions:
http://php.net/manual/en/ref.strings.php
Re: String Manipulation before putting the data into mySQLThanks for the info, i have done string manipulations before but dont know how to use (call/trigger) them in xataface befor saving the string to the database.
Re: String Manipulation before putting the data into mySQLYou can make these transformations in the beforeSave() trigger (or beforeInsert() or beforeUpdate()).
In the delegate class for your table:
Re: String Manipulation before putting the data into mySQLKnowing this, I see how much I can do with this awsome framework. Its so powerful and has more possibilities than I thought. Thanks for your help.
5 posts
• Page 1 of 1
Who is onlineUsers browsing this forum: No registered users and 14 guests |