hLink
Posted: Fri Jul 24, 2009 12:17 am
Hello…
I can't make this work:
I press the Edit Button, but the address bar remains the same. What I'm doing wrong?
Thanks!
I can't make this work:
Code: Select all
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>PHP/MySQL Programming Course Part 2</title>
<script language="JavaScript">
function go2Page(hLink){
window.location = "index.php?function=edit&mode="+hLink+"";
}
</script>
</head>
…
<body>
<td align="center"><input name="edit1" type="button" value="Edit" onclick="javascript(go2Page(<? echo $myrowRes['statVal_id']; ?>));"/></td>
</body>Thanks!