HTML PHP Help Form -


i'm trying best generate unique link following information id1 , id2. i've tested echo , paste following .html server , there weren't respond , tried echo nothing.

i need , thank you.

    <form method="post" action="">      <h1 style="color:#0cf; font-family:arial, helvetica, sans-serif;">enter id 1:</h1>      <input type="text" value="" name ="cid" id="cid" />      <h1 style="color:#0cf; font-family:arial, helvetica, sans-serif;">enter id 2:</h1>      <input type="text" value="" name ="gid" id="gid"/>   <h1 style="color:#0cf; font-family:arial, helvetica, sans-serif;">copy link     here</h1> <textarea style="width:500px; height:50px;"></textarea><br /><br /><br />         <input type="submit" value="submit" name="submit" id="submit"/>          </form>      <?php                 $cid = $_post["cid"]; $gid = $_post["gid"];           if(isset($_post['submit']))      {          //i want make new link $url = "www.something.com/" combination of id 1 , id2 .      example : www.something.com/id1+id2 // want if possible      }     else                    {         echo "you've failed";     }      ?>  need if don't mind 

<form method="post" action="">      <h1 style="color:#0cf; font-family:arial, helvetica, sans-serif;">enter id 1:</h1>      <input type="text" value="" name ="cid" id="cid" />      <h1 style="color:#0cf; font-family:arial, helvetica, sans-serif;">enter id 2:</h1>      <input type="text" value="" name ="gid" id="gid"/>   <h1 style="color:#0cf; font-family:arial, helvetica, sans-serif;">copy link     here</h1> <textarea style="width:500px; height:50px;"></textarea><br /><br /><br />         <input type="submit" value="submit" name="submit" id="submit"/>          </form>      <?php                            if(isset($_post['submit']))      {       $cid = $_post["cid"];      $gid = $_post["gid"];          //i want make new link $url = "www.something.com/" combination of id 1 , id2 .      $emp  = "example : www.something.com/".$cid.$gid // want if possible      }     else                    {         echo "you've failed";     }      ?> 

Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -