Jump to content

Selecting a certain amount


Mod-Jay

Recommended Posts

Error:

No error, Im have trouble Having This Loop Select Only 2 Uploads At a Time.

 

Code:

					<?php

//porperties
$result = mysql_query("SELECT * FROM uploaded");
while($r=mysql_fetch_array($result))
{
		   $link=$r["link"];
		   $name=$r["name"];
		   $type=$r["type"];
		   $size=$r["size"];
		   $date=$r["date"];
		   $id=$r["id"];
echo "
The File $name Was Currently Updated<br>
Size: $size<br>
Type: $type<br>
Date Updated: $date<br>
Link: <a href='$link'>Download</a><br><br>
";
}
?>  

 

Couldn't Think of a Good name For this,Sorry

Link to comment
https://forums.phpfreaks.com/topic/212519-selecting-a-certain-amount/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.