Jump to content
Fórum Script Brasil
  • 0

Pegar um ID em PHP


1 answer to this question

Recommended Posts

  • 0
	<div style="width: 500px; margin: 20px auto;">
		<a href="insert.php">Add New</a>
		<table width="100%" cellpadding="5" cellspacing="1" border="1">
			<?php while($row = $result->fetchArray()) {?>
				<td><?php echo $row['Nome'];?></td>
				<td><?php echo $row['Senha'];?></td>
					<a href="update.php?id=<?php echo $row['id'];?>">Edit</a> |
					<a href="delete.php?id=<?php echo $row['id'];?>" onclick="return confirm('Are you sure?');">Delete</a>
			<?php } ?>


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Forum Statistics

    • Total Topics
    • Total Posts
  • Create New...