Tag Archive | "lt"

Using Checkbox In Php With Mysql Database ///?


hello .. i m using checkbox in my php web form in which i m fetching values from mysql (phpmyadmin) database something like this ..
if the user is ‘activated’ then my checkbox will be checked and if not activated (‘verify’) then my checkbox will not be checked .. .
now its working fine .. what i want is i have an update button and if the user clicks on it then as per my selection of checkboxes .. my database must be updated as ‘activated’ whichever i have checked and for those which are unchecked will be going in ‘verify’ .. but m stuck here as m not able to find out how to do this .. here is my sample code what m doing . .
————————————–…
try.php
—————————-

<input type="checkbox" value="” name=”status” id=”status”

/>

————————————–…
what exactly my proper code can me in the ‘submit1’ to do this ..
should i have to change this ..
please masters help me ..

Posted in Affiliate Marketing 101Comments (0)

How Does Affiliate Programs Work?


I know that they pay you and they pay you through your paypal…but what do you have to do to get paid? Do you do nothing and they just pay you. Thank You<3

Posted in Featured ArticlesComments (0)

Evolution … 2 Mc Questions? (please Explain)?


Which of the following ideas proposed by Lamarck was later found to be incorrect?
a) Acquired charaacteristics can be inherited
b) Analogous structures can be inherited
c) Living things change over time
d) The Eatrth is very young <- this one, right?
Which of the following is needed for new species to form?
a niche
homologous structures
analogous structures
reproductive isolation <- this one?
thanks!

Posted in Affiliate Marketing 101Comments (0)

Show 10 Products Per Page, Then Auto Generate Another Page For Next 10 Porducts? Php?


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 “

“;
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 “


?>
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 101Comments (0)

Show 10 Products Per Page? More Than 10 Auto Create New Page To Display Next 10?php?


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 “

“;
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 “


?>
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 101Comments (0)

I Need An Niche Market Idea!!!!?


i need and idea for my business studies speech
and i don’t know what to do it on
not to girly but also not to boyish plz
thx <3

Posted in Affiliate Marketing 101Comments (0)

Archives

Powered by Yahoo! Answers