Jump to content

moisesbr

Members
  • Posts

    54
  • Joined

  • Last visited

Everything posted by moisesbr

  1. Hi, I have some doubts as date format is displayed is 2013-07-25 yy/mm/dd, as it is in database. 1-How/is it possible to format dd/mm/yy in database ? 2-How to format dd/mm/yy in HTML. 3- Is it right to format it dd/mm/yy in database, or is it mandatory it to be yy/mm/dd and being formated at display moment ? Regards Moises
  2. Ok, now I start to comprehend it. I learnt a bit of it this stuff using "post" it the past. What is the difference of get/post ? Is there one which of them which is safer or more recommended ?
  3. Thank you. It works fine listing data ! But instead of linking to a page "linktodisplayhere.php" it would like just to click over a line and show details of that record. I mean, after click on a line, going to a second page and show: (Nome, city, code, and more fields I want) of that ID .
  4. Hi I am trying the code below and managed to display a unique record. But, if I found more than one record, how can I display them by lines. Also if possible, how can I insert a link in everyline to go to that record. Thanks Moises // Make a MySQL Connection mysql_connect("localhost", "database_monitor", 'password') or die(mysql_error()); mysql_select_db("monitorr_acrisoft") or die(mysql_error()); $result = mysql_query("SELECT * FROM prova WHERE ID= '$protocolo'") or die (mysql_error()); $mem_row = mysql_fetch_array( $result ); $count = mysql_num_rows($result); if($count >= 1) .... // display: Nome, city, code ...
×
×
  • 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.