Pagina volgorde

Gestart doorIphoneboy0 reacties21 weergaven

1 berichten · pagina 1 van 1

Iphoneboy

Lid · Topicstarter

Berichten
65
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
IK moet tegen deze avond een cms klaar hebben
dus ik heb zeer wat werk ik zoek iemand die voor mij
een systeem kan maken da men de pagina volgorde kan wijzigen
een deel van de code vind je hier
hier krijg je 1,50 punten voor
bij intresse zend me een privebericht

<ul id="sortable">
[COLOR= #0000BB]<?php[/COLOR]
[COLOR= #FF8000]/************ select ******************/[/COLOR]
[COLOR= #0000BB]$query[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"SELECT * FROM `paginas` ORDER BY volgorde ASC"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #FF8000]//$query = "SELECT * FROM tabel where ? = ?";
// resultaat maken door query uit te voeren met onderstaand commando[/COLOR]
[COLOR= #0000BB]$result[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$query[/COLOR][COLOR= #007700])[/COLOR] or [URL="http://www.php.net/trigger_error"]trigger_error[/URL][COLOR= #007700]([/COLOR] [URL="http://www.php.net/mysql_error"]mysql_error[/URL][COLOR= #007700]() );[/COLOR]
[COLOR= #FF8000]//Alle rijen overlopen in een loop[/COLOR]
[URL="http://www.php.net/while"]while[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$rij[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_assoc"]mysql_fetch_assoc[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$result[/COLOR][COLOR= #007700])){[/COLOR]
?>
<li><table width="100%" border="0">
  <tr>
    <td width="88%">[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$rij[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]pagina_naam[/COLOR][COLOR= #007700]][/COLOR] ?></td>
    <td width="12%"><img src="images/icons/bewerken.png"  alt="bewerken">&nbsp;<img src="images/icons/verwijderen.png"  alt="bewerken"></td>
  </tr>
</table></li>
[COLOR= #0000BB]<?php[/COLOR]
[COLOR= #007700]}[/COLOR]
?>
</ul>
0

Jouw reactie

Deel je idee, stel een vraag of help een ander verder.

Editor laden…

Praat mee met de One2xs-community.

Inloggen om te reageren