Forum: C Dec 23rd, 2008 |
| Replies: 7 Views: 846 You might want to take a look at strtok (http://www.cplusplus.com/reference/clibrary/cstring/strtok.html). |
Forum: HTML and CSS Aug 22nd, 2008 |
| Replies: 12 Views: 1,417 Not quite. You just store an id indicating which stylesheet to load. When loading the page you would then check for the id in the cookie, and if the cookie does not exits use the default style. You... |
Forum: HTML and CSS Aug 22nd, 2008 |
| Replies: 12 Views: 1,417 Yes, but AFAIK it would require a little scripting. You could save the style in a cookie, then select a stylesheet based on the value when the page loads. |
Forum: MySQL Aug 22nd, 2008 |
| Replies: 5 Views: 6,701 It seems that you are not increment the id maybe add an increment to your loop? IE:
$id=1;
$count = mysql_num_rows( mysql_query("SELECT image_id FROM imagetable") )
$data = mysql_query("SELECT *... |