Search found 3 matches
- Mon Feb 16, 2009 7:13 pm
- Forum: PHP - Code
- Topic: Mod_rewrite
- Replies: 0
- Views: 78
Mod_rewrite
Hi, I have this simple piece of mod_rewrite: RewriteEngine on RewriteCond %{SCRIPT_NAME} !\.php RewriteRule ^([0-9a-z-A-Z]+)/([0-9a-z-A-Z]+)?$ index.php?page=$2&parent=$1 [L] RewriteRule ^([0-9a-z-A-Z]+)?$ index.php?page=$1 [L] Anyway what I want to know is how can I get this to work on a Wind...
- Thu Dec 18, 2008 2:29 am
- Forum: Databases
- Topic: mysql/php count rows
- Replies: 2
- Views: 453
Re: mysql/php count rows
thanks that's what I meant exactly!
- Wed Dec 17, 2008 3:59 pm
- Forum: Databases
- Topic: mysql/php count rows
- Replies: 2
- Views: 453
mysql/php count rows
i have this table: +--+----------+ | page_id | url | +--+------------+ | 1 | page_1.php | +--+------------+ | 2 | page_2.php | +--+------------+ | 3 | page_3.php | +--+------------+ I want to create a php counter that gets the number of rows in the page_id field, adds them together and then adds one...