FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » PHP : passing a variable along url
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
PHP : passing a variable along url [message #179050] Fri, 07 September 2012 11:12 Go to previous message
pritam chavla is currently offline  pritam chavla
Messages: 1
Registered: September 2012
Karma:
Junior Member
Hi group i am having a problem now, actually i am trying to submit a form

and want to pass a parameter along url like
this is my form that is on url(http://localhost/userregistration.php)
<form action = "userhandler.php" method = "POST" id = "validate_form" enctype="multipart/form-data" >

<dl>
<dt><label for="user_name">User Name<span class="req" style="color:red;">*</span></label></dt>
<dd><input type="text" name="user_name" id="user_name" class = "required" size="32" maxlength="128" /></dd>
</dl>

<dl>
<dt><label for="password">Password:<span class="req" style="color:red;">*</span></label></dt>
<dd><input type="password" name="password" id="password" class = "required" size="32" maxlength="32" /></dd>
</dl>


</form>

this is form is submitting on userhandler.php where i am planning to take another parameter org_name
so far i am passing the org_name on
http://localhost/userregistration.php?org_name=blah


but unfortunately when i am trying to get the parameter on userhandler.php file

it is showing me error i.e

Undefined index: org_name in /opt/lampp/htdocs/UI/user/userhandler.php on line 16



Please help me what i am doing wrong
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Please help In if else while using array
Next Topic: average rate
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 08:00:06 GMT 2024

Total time taken to generate the page: 0.04029 seconds