Toon posts:

[PHP] Selecteren na zoekopdracht lukt niet goed

Pagina: 1
Acties:
  • 42 views sinds 30-01-2008

Verwijderd

Topicstarter
code:
1
2
3
4
5
6
7
8
    'U_CAT_SBRAND' => append_sid("catalog.{$phpEx}?sbrand=$sbrand&brand=$brand&fab_name=$fab_name&driver=$driver&color=$color&number=$number&cat=$cat&sell_year=$sel_year&prod_year&scale=$scale&edition=$edition&type=$type&info=$info&prod_year=$prod_year&sell_year=$sell_year"),
    'U_CAT_STYPE' => append_sid("catalog.{$phpEx}?stype=$stype&brand=$brand&fab_name=$fab_name&driver=$driver&color=$color&number=$number&cat=$cat&sell_year=$sel_year&prod_year&scale=$scale&edition=$edition&type=$type&info=$info&prod_year=$prod_year&sell_year=$sell_year"),
    'U_CAT_SMAN' => append_sid("catalog.{$phpEx}?sman=$sman&brand=$brand&fab_name=$fab_name&driver=$driver&color=$color&number=$number&cat=$cat&sell_year=$sel_year&prod_year&scale=$scale&edition=$edition&type=$type&info=$info&prod_year=$prod_year&sell_year=$sell_year"),
    'U_CAT_SSCALE' => append_sid("catalog.{$phpEx}?sscale=$sscale&brand=$brand&fab_name=$fab_name&driver=$driver&color=$color&number=$number&cat=$cat&sell_year=$sel_year&prod_year&scale=$scale&edition=$edition&type=$type&info=$info&prod_year=$prod_year&sell_year=$sell_year"),
    'U_CAT_SCOLOR' => append_sid("catalog.{$phpEx}?scolor=$scolor&brand=$brand&fab_name=$fab_name&driver=$driver&color=$color&number=$number&cat=$cat&sell_year=$sel_year&prod_year&scale=$scale&edition=$edition&type=$type&info=$info&prod_year=$prod_year&sell_year=$sell_year"),
    'U_CAT_SDATE' => append_sid("catalog.{$phpEx}?sdate=$sdate&brand=$brand&fab_name=$fab_name&driver=$driver&color=$color&number=$number&cat=$cat&sell_year=$sel_year&prod_year&scale=$scale&edition=$edition&type=$type&info=$info&prod_year=$prod_year&sell_year=$sell_year"),
    'U_CAT_SEDITION' => append_sid("catalog.{$phpEx}?sedition=$sedition&brand=$brand&fab_name=$fab_name&driver=$driver&color=$color&number=$number&cat=$cat&sell_year=$sel_year&prod_year&scale=$scale&edition=$edition&type=$type&info=$info&prod_year=$prod_year&sell_year=$sell_year"),
    'U_CAT_SCAT' => append_sid("catalog.{$phpEx}?scat=$scat&brand=$brand&fab_name=$fab_name&driver=$driver&color=$color&number=$number&cat=$cat&sell_year=$sel_year&prod_year&scale=$scale&edition=$edition&type=$type&info=$info&prod_year=$prod_year&sell_year=$sell_year"),

Ik maak gebruik van bovenstaande code voor het selecteren van zoekopdrachten in mijn catalogus http://www.modelautoforum.nl/catalog.php
Dit werkt helemaal niet goed. Of hij pakt weer de hele lijst uit de database om te selecteren of hij pakt de vorige zoekopdracht.
Bovenstaannd gedeelte heb ik opnieuw geschreven maar ik blijf hetzelfde probleem houden, waar maak ik de fout? Het hele bestand staat hier: http://www.modelautoforum.nl/catalog.txt

  • NMe
  • Registratie: Februari 2004
  • Laatst online: 15-04 22:07

NMe

Quia Ego Sic Dico.

Als je problemen hebt met het aanpassen van bestaande code, in dit geval met de code van phpBB, neem dan contact op met de makers. Voor dit topic geldt verder hetzelfde als wat je een maand geleden ook al hoorde van http://gathering.tweakers...essage/24452641#24452641: het is niet de bedoeling dat wij jouw/andermans code in zijn geheel gaan doornemen om hem dan maar te fixen. Daarnaast is je topic erg vaag, ik kan nergens uit opmaken wat je nu eigenlijk probeert te doen, en wat er nu fout gaat. Je bent al meer dan eens op onze quickstart en FAQ's gewezen. Lees die dan ook eens een keer. :/

'E's fighting in there!' he stuttered, grabbing the captain's arm.
'All by himself?' said the captain.
'No, with everyone!' shouted Nobby, hopping from one foot to the other.


Dit topic is gesloten.