Defs Posted August 12, 2010 Author Report Posted August 12, 2010 Who i am tu teišām laikam esi muļķis , nu kāds sakars tam? TAS IR PHP KODS NEVIS KĀDA LIETA!!!! Chizij, tādu kodu gan man nevajag. Quote
rATRIJS Posted August 12, 2010 Report Posted August 12, 2010 Manaa gadiijumaa: php kods -> nauda -> lieta taa kaa ne tieshi, bet php kods ir lieta. Tas pats kas: "Iztiiri man maaju! Zheel? Taa tak nav nekaada lieta!" Quote
goma smile Posted August 12, 2010 Report Posted August 12, 2010 Man prieks ka kāds grib līdzināties: $result = mysql_query("SELECT name, thumb FROM users"); while ($row = mysql_fetch_assoc($result)) { echo "<img src='". $row["thumb"] ."' /> <br/>". $row["name"]. "<br/>"; } Quote
jameson Posted August 13, 2010 Report Posted August 13, 2010 Še <?php $host = ""; $db = ""; $db_user = ""; $db_pw = ""; mysql_connect($host, $db_user, $db_pw) or die ("Neizdevās pieslēgties"); mysql_select_db($db) or die ("Neizdevās pieslēgties pie DB"); $sql = mysql_query("SELECT * FROM ibf_members"); while($row = mysql_fetch_array($sql)) { echo '<a href="forums/index.php?showuser='.$row['id'].'">'.$row['members_display_name'].'</a>'; } ?> Vrb kkur ielaidu kļūdu, bet apmēram viss tā kā būtu Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.