In this line of code, I think it navigates to ‘some_page’ withinthe ‘index’ page, but do not understand the use of the questionmark after ‘index.php’ and the equals sign after ‘some_page’. Couldsomeone please explain?
<td><a href=”index.php?some_page=<?php echo$some_variable;?>”Edit</td>
Answer
Dear Student ,
As per the requirement submitted above , kindly find the belowsolution.
Question:
Consider given line
<td><a href=”index.php?some_page=<?php echo$some_variable;?>”Edit</td>
Explanation:
- This code is used to edit the record.This means when this linkis clicked there is need to edit the record.
- So when link Edit is click need toidentified which records to edit.Suppose all records are displayedin tabular form row and column wise.Before each row there is editlink
OROR