ooooooo thanatos me n brumi dnt get on 2 well so he prob wasnt joking about the how much bit
pic coding
Collapse
X
-
srecnica im a lil thick wen it comes to t would it be easier 4 u 2 have a look sorry my server person aint here 2 explain to me sorry and yh i need it 4 lavaLast edited by cheeky-girl; 29.04.10, 16:19.
Comment
-
Originally posted by cheeky-girl View Postsrecnica im a lil thick wen it comes to t would it be easier 4 u 2 have a look sorry my server person aint here 2 explain to me sorry
Comment
-
Originally posted by cheeky-girl View Postam so confused now will you be having a look in my server??????????? coz i dont really no my way around lava much prefer wap v2 x
Please post here your code to add to the galleryLast edited by srecnica; 29.04.10, 16:29.
Comment
-
this is my table ibwf_gallery
Code:CREATE TABLE IF NOT EXISTS `ibwf_gallery` ( `id` int(100) NOT NULL AUTO_INCREMENT, `uid` int(100) NOT NULL, `sex` varchar(255) NOT NULL, `itemurl` varchar(255) NOT NULL, `file` varchar(250) NOT NULL, `last` int(100) NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `name` (`itemurl`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1;
Code:else if($action=="addgal") { $itemurl = $_POST["itemurl"]; echo "<card id=\"main\" title=\"Happy Chat\">"; $tm = time()-180; $crdate = $tm; $uid = getuid_sid($sid); $nopl = mysql_fetch_array(mysql_query("SELECT sex FROM ibwf_users WHERE id='".$uid."'")); if($nopl[0]=='M') { $usex = "M"; }else if($nopl[0]=='F'){ $usex = "F"; }else{ $usex = "M"; } echo "<p align=\"center\">"; $res = mysql_query("INSERT INTO ibwf_gallery SET uid='".$uid."', itemurl='".$itemurl."',last='".$crdate."', sex='".$usex."'"); if($res) { echo "<img src=\"images/ok.gif\" alt=\"O\"/>successfully added to your Gallery<br/>"; }else{ echo "<img src=\"images/notok.gif\" alt=\"X\"/>Error<br/>"; } echo "<a href=\"gallery.php?action=main&sid=$sid\">Galerija</a><br/>"; echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>"; echo "Happy </a>"; echo "</p>"; echo "</card>"; }
Code:$lpg = mysql_fetch_array(mysql_query("SELECT id, uid FROM ibwf_gallery ORDER BY last DESC LIMIT 0,1")); $rmg=mysql_fetch_array(mysql_query("SELECT itemurl, uid ,last FROM ibwf_gallery WHERE id='".$lpg[0]."'")); $wick = getnick_uid($rmg[1]); echo "<small><b>Last upload of nick</b> <a href=\"gallery.php?action=viewuser&who=$rmg[1]&sid=$sid\">$wick</a>$rmg[2]</small><br/>";
to your sqlLast edited by srecnica; 29.04.10, 17:16.
Comment
-
lol why the fuk do u need this, u only need one lookup lol... and how do u exactly think your gna get a date without it being included in your database table. and also when upload a file there is no ability to save this into the database lol... and yes i would charge because some people just dont appreciate help, just go round bitchin
lol and why is sex varchar(255) at the most it needs to be 6 not 255 unless the word "Female" is 255 characters long.Last edited by crazybrumi; 29.04.10, 17:25.
Comment
-
Originally posted by crazybrumi View Postlol why the fuk do u need this, u only need one lookup lol... and how do u exactly think your gna get a date without it being included in your database table. and also when upload a file there is no ability to save this into the database lol... and yes i would charge because some people just dont appreciate help, just go round bitchin
lol and why is sex varchar(255) at the most it needs to be 6 not 255 unless the word "Female" is 255 characters long.
Comment
Comment