I am almost embarrassed to ask this, but I have been staring at it and feel like there is an easy answer but i'm not seeing/finding it.
I have this line in my php where i am using a string "checked" ...

If i use a custom meta name original_post_id to store the id of a related post in woocommerce how can i Load this particular post id in a specific template part?
I tried this but it simply does not ...

This code should response after typing true username and pass then redirect to the index page but it always response with "else" which give wrong (Wrong Username or Password) even if the information ...

So I've created a basic Chrome Extension using this tutorial:
https://developer.chrome.com/extensions/getstarted
Then within the popup.html I've added the all the necessary tags from the quick start ...

My variable date_mplayer simply stores a PHP generated time() stamp. I need to create an array with a key/value pair which both the key and value are initially the same time stamp from date_mplayer.
...

The ajax call works fine on the first of two records that's echo'd out of the database (inserts a textarea field) but on the second record does nothing. I've been at it for hours now and can't figure ...

I have a web page, example.com/a.php. I want to ensure that visiting example.com/a.php redirects the user to example.com. The only way you can visit example.com/a.php is through example.com. I have ...

Heres what im trying to do:
i have two scripts
(1)DatabasConnection.php- This is for setting up my connection to the database.
(2) SQLQuery.php - send up a query, with a mysqli_query() function.
so ...

How do you make multiple queries on the same table, selecting different columns?
If it helps at all... All of the queries have a common column in the select part of the SQL statement. They all select ...

I have been working on storing metadata in images with varying success. I have been able to add most of the fields I need but have hit some inexplicable difficulties. This code works for the first 5 ...

I'm currently developing a site and I'll need a comments section. I've never made one before, but I've been programming for a while (desktop development mostly) and I can gather a few ways on how to ...

i make code for measure load speed of website but don't know if is possible measure real load speed of website via some proxy i try but always give me some abnormal number because slowness of proxy, ...

I am building a WooCommerce plugin which sends orders to a 3rd party api.
However i have found there not to be a way to get the individual fields/properties of the order shipping address since v2.3. ...

I'm currently writing an sql that has me confused. I've got two possible ways to accept data - insert or update, depending on how the check for present data goes. If I do insert, everything goes in ...

I have a site with a root domain and several sub domains, each a separate yii2 module. At the moment I have to log into each sub domain individually. I want to be able to log into the root directory ...