ShimmyShine
Members-
Posts
54 -
Joined
-
Last visited
Never
Everything posted by ShimmyShine
-
I do have some advice, don't use DW.. Learn it and use notepad Shimmy
-
how to add usernames to mysql in a seperate row?
ShimmyShine replied to CBaZ's topic in PHP Coding Help
replace error_reporting(E_ALL) with echo mysql_error(); see if its a mysql error. Shimmy -
how to add usernames to mysql in a seperate row?
ShimmyShine replied to CBaZ's topic in PHP Coding Help
Will this work: <?php error_reporting(E_ALL); $connect = mysql_connect("localhost", "username", "pw") or die ("Could not connect to database: " . mysql_error()); mysql_select_db("db", $connect) or die ("Could not select database"); $query = mysql_query("SELECT * FROM `users` WHERE `username`!='$username'") or die("QUERY FAILED: " . mysql_error()); $triv = file_get_contents("users_online2.txt"); $date = date("YmdHis"); echo $triv; if (mysql_num_rows($query) <= 0) { $result = "INSERT INTO `users` (`username`,`created`) values ('$triv', '$date')"; } else if(mysql_num_rows($query) >= 1) { echo "number of rows: '".mysql_num_rows($query,"'"; } $row2 = mysql_query($result) or die("QUERY FAILED: " . mysql_error()); $sql = mysql_query("SELECT * FROM `users` WHERE `user_id`='$user_id' ORDER BY `created`"); echo '</div><div class="title" id="top_bar_right"><a href="profile2.php?user_id='.$sql['user_id'].'" target="RSIFrame">'.$triv.'[/url]</div></div>'; ?> -
Made a whmcs template, would like some testing
ShimmyShine replied to skatermike21988's topic in Beta Test Your Stuff!
My screen is 1024.. i have to scroll to view your whole page. Shimmy -
Sorry for the double post, but or even a template changer. I can just add multiple templates? Thanks Shimmy
-
Really? I was planning on improving it tonight, BUT i thought it looked okay to me. Even looks good in 1024x768. Thanks for the tip though, ill improve it tonight. Umm I was planning on adding a feature where they can select their color of the site that they want. You think that would solve it? If you could pick whatever color you preferred? Thanks Shimmy
-
Hi all, I have been working on a website for the past couple weeks and well its ready to be beta tested! A little explanation about the site. Tag Me! was started about a month ago (the idea at least ) when my uncle was explaining it to me, I decided having the experience I do to take it to the next level. So I started the development of the site. Well development went smooth, as every other web site developer out there knows, no development of anything goes smooth Lol. Anyhow the concept of the site is this : You upload a picture of yourself, then get your buddies to hit it. Now you wouldn't want to just do this for fun SO we had to give you a drive to do so. We will have prizes. For beta the prizes are not going to be handed out. The prizes will be ranging anywhere from 50 bucks to a PS3. The better our sponsors/advertisers get, then the better the prizes are. The reason we are expecting a good amount of sponsors is because of the concept of our site is to pull in hits, that is what sponsors want, a website with a lot of hits. So that is why. Our site is http://www.bbgames.us/tagme/ Any bugs, typos, anything not working properly please report it. Also any suggestions is a HUGE part, so please please give any of those if you have 'em. Thanks ShimmyShine
-
Hi everyone, I am currently designing a website and my div floats perfectly fine in every browser BUT Internet explorer 7 & internet exlorer 6. I was wondering if anyone has a fix for either of them. My page is http://www.bbgames.us/tagme/ and its the top div. Thank you all! ShimmyShine
-
Why are you putting variables in the $_post? Your doing $_POST["bla$var"]; You could try maybe $_POST["bla".$var]; Not sure if this helps or not, but on a phone that's all I really noticed. Shimmy
-
Well I posted it here for criticism, so I will take nothing to offense . How do you suggest I improve it?! What sort of information do you think I should have on my index page?!
-
Hey now, I just wanted someone to critique my website, not argue in my topic Shimmy
-
Thank you! The transparent footer area once I get payed hosting will only have the orange links (Not the black mauricehost.info text). Those are the users logged in. Yes I agree content areas are rather boring aswell. I plan on once I get the main features done, touching it up with some good looks! What do you suggest I add to the main index page? Thanks! Shimmy
-
I have started a website about a month ago, and with it starting to grow little by little I want to make sure it looks decent to the phpfreaks! Any feedback (or critique since this is the critique forum) would be excellent! http://www.bbgames.co.nr Thanks Shimmy
-
I have never even heard of a variable variable Shimmy
-
Could you accept my request?! Lol Shimmy
-
$i = 1; while($imageid == $i) { echo $cardHeader."".$i; $i++; } I see now how its infinite! Lol woops This would work though $i = 1; $ie = #; // Replace # with the ending number of images. while($imageid == $i && $i <= $ie) { echo $cardHeader."".$i; $i++; } Shimmy
-
Hmm, Darkwaters do you think I could talk to you VIA Aim, or MSN? Shimmy
-
Wouldn't that be a bit of a overload? When a user has a new topic posted it tracks how many posts it has and the user views it then it updates those posts and goes "unbold".. But making it for every person wouldn't that overload the database eventually? Shimmy
-
Hmm would I have to store it for each person, or? Ive never really run into this problem so its confusing me Lol. Shimmy
-
Try this one: <?php $q = mysql_query($sql) or die("Error running query:".mysql_error()); $array = mysql_fetch_array($q); if(!$q || mysql_num_rows($q) <= 0) { echo "There was an error."; } else { if(!$array) { echo "<img src=\"http://www.my.com/members/images/thumbs/big.jpg\">"; } else { echo "<img src=\"http://www.my.com/members/images/thumbs/".$pid.".".$array['ext']."\">"; } } ?>
-
Well I was thinking that but that wouldn't work with new-registrys.. IE: On these forums it updates whether you just registerd and viewed it or not. I want something like this, not sure how to go about doing it though. And Thanks for the other fix, ill implement it asap. Shimmy
-
Does anyone have any ideas? Sorry for double posting but this is kind of an urgent need! Thanks Shimmy
-
Warning: Invalid argument supplied for foreach() in
ShimmyShine replied to anthonyp01's topic in PHP Coding Help
I have never had to use foreach but possibly change $rssout['items'] as $item to $rssout['items'] == $item Shimmy -
Indeed there is $i = 1; while($imageid == $i) { echo $cardHeader."".$i; $i++; } I believe that should work although i think theres a problem with echo $cardHeader."".$i; Lol Hope this helps you Shimmy