Search results

  1. J

    <? php what is wrong with this code?

    Tell me what is wrong in this code why am getting this error(You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND LIMIT 5,5' at line 1.) when ever I press for next page to see rest of records ? <?php...
  2. J

    <? php how can let rows throught to next page?

    this is my query (paging code working fine with normal query but with this one because it has array ) am getting error $where = array(); $agemin=$_POST['agemin']; $agemax=$_POST['agemax']; $countrystayings = array('uk','usa','italy','France'); if...
  3. J

    <? php sorting form how to sort ALL ?

    I have form contains 4 Fields ( 2 drop-down box ,2 Fields) 1- sex : ALL,MALE,FEMALE 2-agemin --->minimum age 3-agemax--->maximum age 4-country:ALL,USA,UK,FRANCE,ITALY how to make query that when for example I select sex : ALL agemin: 10 agemax:14 country: USA the result will be all male...
  4. J

    <? PHP didnt find sloution for this q.?

    simply First look to this part of my php. function ee( $var ){ return mysql_real_escape_string( $var );} function add_sql( $field , $var ){ global $res; if ( !empty( $_POST["$var"] ) ) { if ( $_POST["$var"] != "-1" ) $res .= $field . "='" . ee( $_POST["$var"] ) . "' AND ";} } $res = null...
  5. J

    <? PHP username in other lang.?

    I have username and password htm form if you insert english username will accept because will be matched with username in mysqltable ,,,but if the username in different language than english the user name in mysql will be like &#1571&#1581&#1605&#1583 so when non-english username sing in his own...
  6. J

    <? PHP how to display picture .?

    the pic will be inserted to mysql by html form i want to show this pic back in html form how ? the field in my table "users " is "pic" and i want to specify the height and width to be fixed .
  7. J

    <? PHP little adjust?

    I need just little adjust in my code so it will work fine dont know how to do it first see my cod before update <?php include('conit.php'); include("MySQLPagedResults.class.php"); $paging_results = new MySQLPagedResults("SELECT count(*) FROM...
  8. J

    <? PHP how to get ID(s) data .?

    suppose I have table is called users and has ID,name,fristname,lastname,city,country and age . and in my form when I select country as USA and $_post(submit) will give all IDs under USA(ID number only) as title hyber link so when I press any ID will take me to his/her all data (profile)...
  9. J

    <? php code limit result & next page?

    I have this code is created by parse error I need to add 3 things (i tried but can not get it . 1-to limit result in one page for 10 rows 2- create next & pev links for more rows to be in next pages if i get 20 rows or result 10 will be in first page and the rest in next page and i will...
  10. J

    < php? how to display selection?

    hey there , I have .htm form that contains three drop-down boxs ,, and the method =get 1-country 2-city 3-gender if I select from USA drop-down box country ,city =all ,gender =all , will post all (names : ( both females and males)) in USA in all cities and all genders , if I slelect...
  11. J

    < php? how to display selection?

    hey there , I have .htm form that contains three drop-down boxs ,, and the method =get 1-country 2-city 3-gender if I select from USA drop-down box country ,city =all ,gender =all , will post all (names : ( both females and males)) in USA in all cities and all genders , if I slelect...
Back
Top