Jump to content
php.lv forumi

IPB Jaunākais forumā


boss86

Recommended Posts

hey, man pat ir vēl kods. Neteiktu, ka 100% svaigs un kvalitatīvs, bet ideja būs skaidra.

http://paste.php.lv/c95ea256d5273e85e6dbc41e2ce31963?lang=php

 

galvenais boss:

						$kverisdivi = mysql_query("SELECT DISTINCT temats, max(datums) AS datums_max, datums, ieraksts FROM ".PREFIX."forums_atbildes GROUP BY temats ORDER BY datums_max DESC LIMIT 5") or die(mysql_error());
			// izvadam jaunumus

Edited by anonīms
Link to comment
Share on other sites

  • 3 years later...

PHP best practices:

- paraut augšā 3 gadus vecu tēmu

- nostreļīt skriptu /visbiežāk zagtam/ IPB

- piebilst ka sajēgas tāpat par valodu nav

Sveicu ar brīvlaika sākumu. Šis vienmēr ir ražens laiks jaunajai PHP paaudzei.

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...