Jump to content

ok

Members
  • Posts

    130
  • Joined

  • Last visited

    Never

Posts posted by ok

  1. it's an algorithm right?

     

    I guess i already encountered the fish and bison.

     

    I dunno where, i forgot. it's php related.

     

    akitchin you know me i only changed my user name.

     

     

     

    i'm afraid you've mistaken me for someone who knows you.

     

    I really want to reveal my old user name, but i like it this way nobody knows me anymore,

    it's a new image.

     

    GingerRobot i have a strong feeling are you steelman?

  2. can you see the problem with this codes below?

     

     

    <select name="Sep29a" size="1" class="style41" id="Sep29a" style="border-style:solid; border-width:1; font-size:11">
    <option selected value="0">_</option>
    <option value="3/$150">3 Day</option>
    <option value="4/$175">4 Day</option>
    <option value="5/$200">5 Day</option>
    </select>
    

     

    the codes above don't work, could not it be the $ sign causing the problem?

     

    for example --> <option value="3/$150">3 Day</option>

     

    thank you.

  3. thank you in advance.

     

    these codes below took tooooo long to load,

    		<?php
    		//0000-00-00 00:00:00
    		//Fill invited_by column in USERS table.
    		include 'opendb.php';
    
    
    		//get all unique invited_by
    			$query = "SELECT DISTINCT invited_by FROM users WHERE invited_by!='' ORDER BY invited_by ASC";
    			$result=mysql_query($query) or die("Problem with the query: $query on line " . __LINE__ . '<br>' . mysql_error());
    
    			$i=0;
    			while($row = mysql_fetch_array($result)) {
    				$referer[$i] = $row['invited_by'];		
    				#echo "<b>referer: </b>". $referer[$i];
    				#echo "<br>";
    				$i++;
    			}
    
    			if(!empty($referer)) {
    				$i=0;
    				$j++;
    				$c=count($referer);
    				while($i<$c) {
    					$query = "SELECT * FROM users WHERE user_name='$referer[$j]' ORDER BY user_name ASC";
    					$result=mysql_query($query) or die("Problem with the query: $query on line " . __LINE__ . '<br>' . mysql_error());
    
    					$i=0;
    					while($row = mysql_fetch_array($result)) {
    						$user_name = $row['user_name'];		
    						$email = $row['email'];		
    						echo "{$user_name} ". $email;
    						echo "\n";
    						$i++;
    					}
    				$j++;
    				}
    			}
    
    		include 'closedb.php';
    		?>
    

     

     

    can you tell me what's causing the problem?

     

    note: i tested the other codes and it works fine, the mere problem is the codes above.

     

    thank you.

     

×
×
  • 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.