Search Result

Collapse
3 results in 0.0028 seconds.
Keywords
Members
Tags
fetch
  •  

  • fogsys
    started a topic mysql query
    in PHP

    mysql query

    Code:
    $result = mysql_query("SELECT * FROM product, members WHERE members_username='amino'") // <= put table field here
    or die(mysql_error());  
    	
    while($row = mysql_fetch_array($result))
      {
      echo $row['product_title'] . " " . $row['product_description'] . " " . $row['product_price'];
      echo "<br />";
      }
    	mysql_free_result($result);
    here is...
    See more | Go to post
    Last edited by Dormilich; Apr 26 '10, 08:04 AM. Reason: Please use [code] tags when posting code

  • If yes then echo this, if no echo that in PHP-simple array?

    Hello,

    Can anyone help me complete this? Is this an array?

    Code:
    <?php
    $Choice1 = $_POST['Choice1'];
    $Choice2 = $_POST['Choice2'];
    $Nothing = $_POST['Nothing']
    I have an HTML file that will have a radio button and a text input
    that looks like this.



    If yes, post choice 1
    if no, post choice 2.
    If left blank show nothing........
    See more | Go to post

  • Cursor that is supposed to return one value Returns duplicated values of same row

    I have a cursor inside a program unit in Oracle Forms 6
    and its supposed to get one row from this cursor ..
    but in some values (only some and others not) it gets the same row twice (duplicated) in cursor's active set , I have checked on ROWNUM and it confirmed same row retrieval !!

    I checked the table for duplicated values but it returned non , also the selected column is the primary key !!!!

    DECLARE...
    See more | Go to post
Working...