Web development and programming questions and answers

This site is a community of people who can quickly ask a question about web development or programming and get an answer to it.



Convert hex characters in text with php built-in function

Is there a built-in PHP function to convert hex characters in text? This: {-code-1} to {-code-2} :::$encoded="this is \x7Btext\x7D";|||$decoded="this is {text}";
Read More

php - Linux: "Caching" Data for multiple processes

Sorry for that title, I can´t find short words to describe my request. On my Debian 9 Server I have a process
Read More

php - Can not getting config params values in api controller Yii2

I am getting undefined parameter error while calling {-code-1} I have created api folder for web services and in this i have
Read More

php - Woocommerce How can I create my own new order email template?

I want to integrate the form that I designed into my email system and when it comes to order, I would
Read More

Translating Wordpress (WooCommerce plugin) using php filters

I am trying to translate my WooCommerce page to my native language using php filterss (add_filter() function). I got one example where
Read More

javascript - Form insertion into database not working asynchronously

I'm trying to get a text area's value inserted asynchrnously into my database, however it keeps redirecting to the PHP processing
Read More

javascript - How to executing a validation in text box number format like 44.44

I want to Check the value to both javascript and php ,which one should be like this format 22.22 or 00.44
Read More

Php & Session after login to page

I have created login page which after user name and pass word is accessing my other pages. But problem is when
Read More

php - Redirect to a different webpage on an if isset button

I can easily add an href link in html to redirect to another page, but what is the PHP code for
Read More

laravel - How can I export .csv file using with Japanese character code in PHP?

I'm trying to create a csv file using laravel and php. The database used to create the csv contains Japanese characters
Read More

Join us in Facebook