Title: URL parameters
Last modified: August 22, 2016

---

# URL parameters

 *  Resolved [nhoa88](https://wordpress.org/support/users/nhoa88/)
 * (@nhoa88)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/url-parameters-4/)
 * Hi,
 * I’m trying to use a parameter within the URL:
 *     ```
       [insert_php]
       include("./myFolder/myFile.php?parameter1=myValue");
       [/insert_php]
       ```
   
 * But it doesn’t work 🙁 If I remove the last part of the URL “?parameter=myValue”
   it works.
 * Am I putting it wrong??
 * Could anyone help me please, thank you!
 * [https://wordpress.org/plugins/insert-php/](https://wordpress.org/plugins/insert-php/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [nhoa88](https://wordpress.org/support/users/nhoa88/)
 * (@nhoa88)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/url-parameters-4/#post-5864864)
 * I have put $_GET first and it keeps the value of that parameter.
    It works this
   way:
 *     ```
       [insert_php]
       $_GET['parameter1']='myValue';
       include("./myFolder/myFile.php");
       [/insert_php]
       ```
   
 * 🙂

Viewing 1 replies (of 1 total)

The topic ‘URL parameters’ is closed to new replies.

 * ![](https://ps.w.org/insert-php/assets/icon-256x256.gif?rev=3523853)
 * [Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts](https://wordpress.org/plugins/insert-php/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/insert-php/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/insert-php/)
 * [Active Topics](https://wordpress.org/support/plugin/insert-php/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/insert-php/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/insert-php/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [nhoa88](https://wordpress.org/support/users/nhoa88/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/url-parameters-4/#post-5864864)
 * Status: resolved