Welcome to W3Courses
 Like Us on Facebook

Query String

Obtain Values of Query String using C#

You can pass variables via query string from one page to another. The page it is passed to should then recieve that varibale and to use it.

Following is an example on how to pass the variable.

Share

Pass Array from Multipart/Form-data Post Method or Query String with Foreach Function in PHP

You can have your form build an array of mutiple text box values and then pass it. The problem is that is global variables are on, it will work but if global variables are off you will have to retrieve each element like the following. If you are using the query string, replace $_Post with $_Get

<?php

echo("<form name='multiupload' enctype='multipart/form-data' method='post' action='{$_SERVER['PHP_SELF']}'>");

Share