Jump to content

phppaper

Members
  • Posts

    162
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

phppaper's Achievements

Regular Member

Regular Member (3/5)

0

Reputation

  1. Dear all, I have a line: <object type="application/x-shockwave-flash" data="a.swf"> <param name="movie" value="a.swf"> </object> Firefox ok has audio, but IE 7 has no audio, anyone could help?
  2. the 12 months are columns or rows? show us the structure.
  3. five fields with inserting 6 values
  4. you only include the checking username and password in your case within the same file, if success do redirect, if not echo error message then you dont have to worry about the transfer the error. The thing you want is that if error, you could still see the input form.
  5. This is an example http://www.daniweb.com/web-development/php/threads/124300
  6. add ORDER BY RAND() into the sql if you want it to be random
  7. $query="SELECT * FROM ft_form_12 WHERE col_24='1' ORDER BY RAND() LIMIT 5"; $result = mysql_query($query); while($row = mysql_fetch_array($result)){?> <a href="http://www.domain.com/display_whole_page.shtml"><img src="http://www.domain.com/the_file/pictures/<?php echo $row['col_23']; ?>" height="50" border="0"></a> <?php } ?>
  8. Well if you insist show in the URL, then it is a GET request. If you want to check whether the user has enter 13243654 instead 13243653 then you have to check after the variable being passed to index.php, if the URL is type out by the user.
  9. Please define your meaning of "retreive a stored $_POST variable" $_POST variable is the same as a normal PHP variable. SSL: http://www.flatmtn.com/article/setting-ssl-certificates-apache
  10. use POST + SSL is a more secure way to transfer data instead of GET
  11. $query = mysql_query("SELECT * FROM stocks WHERE stockname='$stockname'"); $numrows = mysql_num_rows($query); if ($numrows>0) { mysql_query("UPDATE stocks SET stockqty='$stockqty' WHERE stockname = '$stockname'"); echo("Item already exists! Its updated"); } else ....................
  12. What you mean by match location? match the user input?
  13. you have already check: $numrows = mysql_num_rows($query); What exactly do you want?
×
×
  • 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.