php - How to pass multiple values from url -



php - How to pass multiple values from url -

i'm trying pass textbox , 1 select result value 1 page page.using url.but it's display error message.

"parse error:

syntax error, unexpected '' (t_encapsed_and_whitespace), expecting identifier (t_string) or variable (t_variable) or number (t_num_string) in c:.."

while($value= mysqli_fetch_assoc($result)){ $apid=$value['apid']; echo("<tr> <td>". $value['apid'] ."</td> <td>".$value['email']."</td> <td>".$value['comments']."</td> <td>".'<input type="text" name="payment"/>'."</td> <td>"."<input type='text' name='apid' value='".$apid."' style='visibility:hidden' size='2'>"."</a>"."<a href='db_sql/db_deletes_appointment.php?apid=".$apid."&payment=<?php echo urlencode($_get['payment']); ?>' >"."add report"."</a>"."</td> </tr>");

the problem sec lastly line have error appending php value string. don't need open <?php because coding in php.

while($value= mysqli_fetch_assoc($result)){ $apid=$value['apid']; echo ("<tr> <td>". $value['apid'] ."</td> <td>".$value['email']."</td> <td>".$value['comments']."</td> <td>".'<input type="text" name="payment"/>'."</td> <td>"."<input type='text' name='apid' value='".$apid."' style='visibility:hidden' size='2'>"."</a>"."<a href='db_sql/db_deletes_appointment.php? apid=".$apid."&payment="; if(isset($_get['payment'])) urlencode($_get['payment']); echo "' >"."add report"."</a>"."</td> ^ </tr>"); } // closing brace missing

php mysql

Comments

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

database - php search bar when I press submit with nothing in the search bar it shows all the data -