Sora
Members-
Posts
23 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by Sora
-
As thescientist already pointed out you have to replace mysql_connect with mysqli_connect and mysql_select_db with mysqli_select_db and so on and so forth throughout your code mysql_ has been deprecated in PHP 5.5. What PHP version are you using by the way?
-
My mistake, this post can be deleted.
-
Replace SELECT COUNT(*) FROM users with SELECT id FROM users id, or any other column. Avoid * for performance reasons.
-
mysql_num_rows() returns the number of rows returned by a query. Since you are using COUNT(), the query will always return one row, the result of COUNT, even if this is 0. Example from shell mysql> SELECT COUNT(*) FROM users;+----------+| COUNT(*) |+----------+| 21912 |+----------+mysql> SELECT COUNT(*) FROM users;+----------+| COUNT(*) |+----------+| 0 |+----------+
-
It's difficult to say with that little information. Are you a complete beginner? If that is the case I would recommend getting started with HTML.
-
I know one reason why www is recommended and that is because of the zone apex / CNAME issue. For example you can't have something like this "example.com CNAME anything.blogspot.com" On the other hand I can see why people like to type domain names without www.
-
This is what I do as well, and what I would recommend.
-
Hi Angelica, Despite the frames, I like it. What about getting a logo done for it?
-
Good looking website but the pages take way too long to open up IMO.
-
Hi Khai, I like your website. I would have justified the text though. Also I don't like very much the contact form, why the huge inputs and the tiny select?
-
Might come in handy someday, bookmarked. Thanks Caligo.
-
Take me everything but Notepad++ & Netbeans
-
Same here. It would be so much better/easier with two floated divs!
- 13 replies
-
- multi-column
- max-width
-
(and 1 more)
Tagged with:
-
That was my thought exactly LOL.
- 6 replies
-
- first website
- website
-
(and 6 more)
Tagged with:
-
Ouch I just realized that would rule out touchscreen devices though.
-
Hi Dave, I like it. I would have made it hover-based rather than click-based though. It would be even quicker to consult, I just hover in the event that interests me and hover out.
-
I like it, without any images it's going to open up light speed. I am not American but I seem to hear there have been a lot of problems with the healthcare.gov one.
-
***Please delete I don't like my answer***
-
Hi Ashish, search "javascript div popup" on google
-
Without more information UPDATE table SET column=anything WHERE id=5