How to create my own form in joomla

If you just want to get your work done, there are some components already avaiable in Joomla Extension’s website to your form’s needs. CkForms is a good one, you can create simple forms with it that are automatically saved in the database (supports upload of files too). If you want to learn how to write … Read more

SQL query to prepend prefix to existing value in a field

You have no other conditions like update this in all rows then you can try UPDATE jos_content SET title = CONCAT(‘Mr. ‘, title) if you want to update conditionally that means particular row needs to update the you can use UPDATE jos_content SET title = CONCAT(‘Mr. ‘, title) where fiedl_name=”condition” eg: UPDATE jos_content SET title … Read more

Strip off specific parameter from URL’s querystring

The safest “correct” method would be: Parse the url into an array with parse_url() Extract the query portion, decompose that into an array using parse_str() Delete the query parameters you want by unset() them from the array Rebuild the original url using http_build_query() Quick and dirty is to use a string search/replace and/or regex to … Read more