Cerka Posted September 6, 2007 Report Share Posted September 6, 2007 kaa var uzstaisit lai no vienas ip var tikaij 3 reizes registreties ? Link to comment Share on other sites More sharing options...
rpr Posted September 6, 2007 Report Share Posted September 6, 2007 select count(*) from lietotaji where ip='192.168.0.1'; Link to comment Share on other sites More sharing options...
Cerka Posted September 6, 2007 Author Report Share Posted September 6, 2007 bet sitas gadijuma nav script kur IP uzraksta un tas tikaij 3 reizes var taisita? Link to comment Share on other sites More sharing options...
marcis Posted September 6, 2007 Report Share Posted September 6, 2007 bet sitas gadijuma nav script kur IP uzraksta un tas tikaij 3 reizes var taisita? kas tur tika domāts? SELECT COUNT(*) AS p FROM `tabula` WHERE ip='".$_SERVER['REMOTE_ADDR']."' if($row['p']<'3') { echo $forma; } Link to comment Share on other sites More sharing options...
Recommended Posts