goma smile Posted November 16, 2008 Report Share Posted November 16, 2008 Ka uztaisit mekletaj scriptu ?? noteiktam laukam piemeram lietotajvards Link to comment Share on other sites More sharing options...
Kristabs Posted November 16, 2008 Report Share Posted November 16, 2008 "select * from tabula where lietotajvards like '%".$meklejamais."%'" Link to comment Share on other sites More sharing options...
goma smile Posted November 16, 2008 Author Report Share Posted November 16, 2008 Tas ir jusu valoda :D :D (PRofisionalu) man taka uzreiz tas nepielec Link to comment Share on other sites More sharing options...
marcis Posted November 16, 2008 Report Share Posted November 16, 2008 Tev iedeva MySQL pieprasījuma piemēru, to tu saproti? Link to comment Share on other sites More sharing options...
goma smile Posted November 16, 2008 Author Report Share Posted November 16, 2008 Ja to es saprotu :) Link to comment Share on other sites More sharing options...
anonīms Posted November 23, 2008 Report Share Posted November 23, 2008 <?php if($_POST['meklet']) { $meklejamais = $_POST['meklejamais']; // aizsardzibu sataisi $mm = mysql_query("select * from tabula where lietotajvards like '%".$meklejamais."%'"); while($m = mysql_fetch_array($mm)) { echo "".$m['kautKas']."<br />"; } } else { echo '<form method="POST"> <input type="text" name="meklejamais" /> <input type="submit" value="meklēt" name="meklet" /> </form>'; } ?> Link to comment Share on other sites More sharing options...
Recommended Posts