Forum: PHP Oct 4th, 2008 |
| Replies: 5 Views: 466 Basically the problem was $i starting off as 0. This threw it off completely. I used $n to start as 1 and count (because I use the $i for more than just an increment).
I'll be posting this project... |
Forum: PHP Sep 12th, 2008 |
| Replies: 8 Views: 881 I've taken code from Shanthi's post and edited to to set a cookie when a user visits the page. When the user refreshes the page, it checks for the cookie. If the cookie exists, it does not add to the... |
Forum: IT Professionals' Lounge Sep 12th, 2008 |
| Replies: 8 Views: 1,792 The only reason you should consider Dreamweaver is because it's an industry standard. If you don't plan on making your life career in web, don't bother. Dreamweaver has many features in it that will... |
Forum: PHP Aug 19th, 2008 |
| Replies: 4 Views: 563 We all still miss a semicolon now and then. ;) |
Forum: PHP Aug 18th, 2008 |
| Replies: 4 Views: 1,318 Certainly the fancy way would be to use something like the Mootools Sortables (http://demos.mootools.net/Sortables) class to sort a list. You could combine that with some type of server-side language... |
Forum: PHP Aug 13th, 2008 |
| Replies: 10 Views: 2,851 If you'd like to do it in a session variable, do this.
<?php
$host = "---";
$username = "---";
$password = "---";
$db = "---";
$tbl_name = "---"; |