Jump to content
php.lv forumi

movie&cat1


FT3

Recommended Posts

Te tads jautajums !

 

Links ir tads ?go=movie - vins uzrada

$result = mysql_query("SELECT * FROM movie ORDER BY id");

 

+ man vjg lai links butu ?go=movie&cat1 - lai vins uzraditu

$2result = mysql_query("SELECT * FROM movie ORDER BY id WHERE category = '$category'");

 

ja $category ir 1 tad ?go=movie&cat1

ja $category ir 2 tad ?go=movie&cat2

ja $category ir 3 tad ?go=movie&cat3

 

un tajas lapas ieks $2result izvadus !

 

 

Cerams sapratat :D :D

Edited by FT3
Link to comment
Share on other sites

yap pereizi tnx tgd zinašu :) un nikidijs teu ari liels plds viss strada ;)

 

 

bet ka tgd ustajsit lai ja link ?go=movie uzrada visu pec kartas

bet ja ?go=movie&cat=0 tas cakigorijas izvadus?

Edited by FT3
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...