Posted on 25 April 2011. Tags: amp, array data, Error, error id, hey guys, list, lt, page button, Php, Query, Table, uid
Ok hey guys, thanks for reading this post. now what I am trying to do is simply displaying 10 products from the table and if more than 10 products are shown it will then automatically add a new page with like.. a different ID in the url? Well anything really as long as it will generate the pages dynamically. Below is my current coding.
$data = mysql_query(“SELECT * FROM products;”) or die(mysql_error());
$id = mysql_query(“SELECT ID FROM products;”) or die (mysql_error());
while($info = mysql_fetch_array( $data ))
{
echo ‘
‘;
echo “
“;
echo ‘<a href="?page=products&uid='.$info['ID'].'…
Echo " “;
echo “ |
“;
echo “
“;
Echo “Name: “.$info[‘name’] . “ “;
Echo “Price: “.$info[‘price’] . ”
“;
echo “ |
|
“;
Echo “Please click the image for further info.
“;
echo “ |
“;
}
echo “
”
?>
As the coding shows, it is simply displaying the entire table in the PHP, however the problem is that the table will simply continue for ever, until their is no more products!! If you don’t know how to automatically generate a new page then would it be a good idea to show row 1-10, 11-20, 21-30 in different pages. If so how would this be done? Oops, I forgot to mention that the user will access the next list of products, E.G 11-20 by clicking the next page button.
Is it possible to use a get function to change the ID of the url when next page is clicked? then it will show the 11-20 results depending on the URL? eg products&id=2 therefore showing the next list of products? I am pretty confused hehe!:)
Thanks, your knowledge is appreciated!:)
Posted in Affiliate Marketing 101
Posted on 23 April 2011. Tags: amp, array data, Error, error id, hey guys, list, lt, page button, Query, Table, uid, url
Ok hey guys, thanks for reading this post. now what I am trying to do is simply displaying 10 products from the table and if more than 10 products are shown it will then automatically add a new page with like.. a different ID in the url? Well anything really as long as it will generate the pages dynamically. Below is my current coding.
$data = mysql_query(“SELECT * FROM products;”) or die(mysql_error());
$id = mysql_query(“SELECT ID FROM products;”) or die (mysql_error());
while($info = mysql_fetch_array( $data ))
{
echo ‘
‘;
echo “
“;
echo ‘<a href="?page=products&uid='.$info['ID'].'…
Echo " “;
echo “ |
“;
echo “
“;
Echo “Name: “.$info[‘name’] . “ “;
Echo “Price: “.$info[‘price’] . ”
“;
echo “ |
|
“;
Echo “Please click the image for further info.
“;
echo “ |
“;
}
echo “
”
?>
As the coding shows, it is simply displaying the entire table in the PHP, however the problem is that the table will simply continue for ever, until their is no more products!! If you don’t know how to automatically generate a new page then would it be a good idea to show row 1-10, 11-20, 21-30 in different pages. If so how would this be done? Oops, I forgot to mention that the user will access the next list of products, E.G 11-20 by clicking the next page button.
Is it possible to use a get function to change the ID of the url when next page is clicked? then it will show the 11-20 results depending on the URL? eg products&id=2 therefore showing the next list of products? I am pretty confused hehe!:)
Thanks, your knowledge is appreciated!:)
Posted in Affiliate Marketing 101
Posted on 19 April 2011. Tags: Affiliated, amp, certification, colleges, coventry university uk, Degree, engineering, engineering courses, swift group
The certification & degree will be provided by the Coventry University, UK
Posted in Featured Articles
Posted on 19 April 2011. Tags: amp, building a website, evry, idea, Look, niche, Website, www
My question is what niche should I go for ? OR should I include evry category that I like. Where the more success and income come from ? Here is my still under construction website…have a look at it and give some idea ..thanks a lot in advance www.dollar-tube.com
Posted in Affiliate Marketing 101
Posted on 19 April 2011. Tags: amp, autograph, blah blah, devil, Gang, goat, Illuminati, lifestyle, music, satanic symbol, seeing eye, symbol, Wiz, wiz khalifa
Ok I’m a big fan of wiz khalifa. I love his music, I think he’s cute…blah blah..blah. . The thing is everybody’s saying that he’s illuminati because in the black & yellow video at one point its showing wiz wearing a shirt with a goat symbol which is supposed to be a satanic symbol. ..that’s affiliated with illuminati….the thing is I thought wiz was Taylor gang…I know Taylor gang isn’t really a gang it’s a lifestyle . But still why would he represent something that agrees with the devil. Oh & same for the roll up video. .. when the guy comes up & gets wiz’s autograph , the guys shirt has a seeing eye on it…which is again associated with illuminati… ok I’m seriously confused. ..I love wiz khalifa but if he worships the devil that’s a problem.
Posted in Featured Articles
Posted on 04 April 2011. Tags: amp, Corporations, Entrepreneur, Happy, minimum wage, nationalize, Niches, true entrepreneur, wage
A true entrepreneur will start a business if he can clear twice minimum wage for himself. If we kill off all corporations, nationalize necessary & too big to fail services, it would be less than 2 years before all the economic niches were refilled by competent people that would HAPPY to get $100k.
Posted in Affiliate Marketing 101