saad|_d3vil Posted August 27, 2008 Share Posted August 27, 2008 hi some one can help me out how to make php page like this page http://www.funmaza.com/softwares.html my php code is <?php $con = mysql_connect("localhost","apnimusk","password"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("apnimusk_naat", $con); // check to see if id is set if(isset($_GET['id']) && is_numeric($_GET['id'])) { echo 'Your have requested ID #'.$GET['id'].'<br />'; echo '<a href="sadasdas.php">Back</a>'; } // no id requested, display results else { $result = mysql_query("SELECT * FROM album"); while($row = mysql_fetch_assoc($result)) { echo '<a href="?id='.$row['id'].'">'.$row['age'].'</a> - ' . $row['name'] . " - " . $row['age'] . '<br />'; } } mysql_close($con); ?> now i want that if some click on my link so the link show in id but it download software Thank you in advance Quote Link to comment https://forums.phpfreaks.com/topic/121540-solved-download-softwares/ Share on other sites More sharing options...
DeanWhitehouse Posted August 27, 2008 Share Posted August 27, 2008 This was answered in your previous topic, and stop asking people to write it for. Look at $_GET['']; Quote Link to comment https://forums.phpfreaks.com/topic/121540-solved-download-softwares/#findComment-626806 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.