- Timestamp:
- Jun 4, 2008, 11:02:50 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
includes/classes.php
r1 r7 147 147 } 148 148 else { 149 $exist = $db->query_result("SELECT count(*) as pocet FROM `servers` where (`name` like '%".$posted['name']."%'AND NOT `id`=$server_id)");149 $exist = $db->query_result("SELECT count(*) as pocet FROM `servers` where (`name` like TRIM('".$posted['name']."') AND NOT `id`=$server_id)"); 150 150 if ($exist==1) 151 151 {
Note:
See TracChangeset
for help on using the changeset viewer.