[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Webmasterplein.net • Toon onderwerp - error?
aan alle goede dingen komt een eind, webmasterplein.net 2003 - 2013
wij danken jullie voor al mooie momenten die dankzij dit forum ontstonden - Derk, Rutger en Stef

error?

Je komt er niet helemaal uit bij het scripten? Übergoede functie geschreven? Alles met betrekking tot scripting, kun je hier terecht.

error?

Berichtdoor Anonymous » 25 feb 2006 18:07

[code="php"]<?php
print "<table class='maintable'>";
print "<tr class='headline'><td>Main Variables</td></tr>";
print "<tr class='mainrow'><td>";
print "<li><A href="editvars.php">Edit main Vars</a><br>";
print "<li><A href="ban.php">Ban IP</a><br>";
print "<li><A href="unban.php">Unban IP</a><br>";
print "<li><A href="../index.php">Admin Browsing(editing comments and entries)</a>";
print "</td></tr></table><br><br>";
print "<table class='maintable'>";
print "<tr class='headline'><td>Profile/Picture</td></tr>";
print "<tr class='mainrow'><td>";
print "<li><A href="picture.php">Change/edit profile Pic</a><br>";
print "<li><A href="profile.php">Change Profile</a><br>";
print "</td></tr></table><br><br>";
print "<table class='maintable'><tr class='headline'><td>Blog Control</td></tr>";
print "<tr class='mainrow'><td>";
print "<li><A href="addarticle.php">Add Entry</a><br>";
print "<li><A href="../index.php">Edit/Delete Entries</a><br>";
print "<li><A href="pruneentries.php">Prune Entries</a><br>";
print "</td></tr></table><br><br>";
print "<table class='maintable'><tr class='headline'><td>Edit Calendar</td></tr>";
print "<tr class='mainrow'><td>";
print "<A href="calen.php">Edit Calendar</a><br>";
print "<A href="flushcal.php">Flush Calendar</a><br>";
print "</td></tr></table>
[/code]

Die geeft een parse eroor op line 5... ik snap niet waarom.
Anonymous
 

Re: error?

Berichtdoor Anonymous » 25 feb 2006 18:09

Sryy 'tis den deze:

[code="php"]<?php
print "<table class='maintable'>";
print "<table class='maintable'>";
print "<tr class='headline'><td>Profile/Picture</td></tr>";
print "<tr class='mainrow'><td>";
print "<li><A href="picture.php">Change/edit profile Pic</a><br>";
print "<li><A href="profile.php">Change Profile</a><br>";
print "</td></tr></table><br><br>";
print "<table class='maintable'><tr class='headline'><td>Blog Control</td></tr>";
print "<tr class='mainrow'><td>";
print "<li><A href="addarticle.php">Add Entry</a><br>";
print "<li><A href="../index.php">Edit/Delete Entries</a><br>";
print "<li><A href="pruneentries.php">Prune Entries</a><br>";
print "</td></tr></table><br><br>";
print "<table class='maintable'><tr class='headline'><td>Edit Calendar</td></tr>";
print "<tr class='mainrow'><td>";
print "<A href="calen.php">Edit Calendar</a><br>";
print "<A href="flushcal.php">Flush Calendar</a><br>";
print "</td></tr></table>[/code]

op line 6, maar veronderstel dat het hetzelfde probleem is...
Anonymous
 

Re: error?

Berichtdoor Derk » 25 feb 2006 18:15

Denk nu eens heel logisch na. Wat doe je nu in de ogen van PHP op deze regel:
print "<li><A href="picture.php">Change/edit profile Pic</a><br>";

Dit zuhn PHP regels:
een functie sluit je af met een ; als de functie nog niet is afgeloten betekent dat dat mischien extra info is voor de functie.
Als je gewone tekst wilt aangeven begint dat met "en eindigt met " (dit zijn quotes)

Wat denkt PHP
print: ok dat moet ik laten zien
Wat moet ik laten zien? alles tussen quotes.
Dus ik laat dit zien: "<li><A href="
eindigt de functie met een ; ? Nee. er komt nog wat achternaan namenlijk picture.php
picture.php kent PHP niet en geeft een error

Oplossing:
print "<li><A href=\"picture.php\">Change/edit profile Pic</a><br>";
of:
print "<li><A href='picture.php'>Change/edit profile Pic</a><br>";
Afbeelding
Avatar gebruiker
Derk
Beheerder
Beheerder
 
Berichten: 12634
Geregistreerd: 27 nov 2003 19:50
Woonplaats: Houten

Re: error?

Berichtdoor Anonymous » 25 feb 2006 18:24

Anonymous
 

Re: error?

Berichtdoor Derk » 25 feb 2006 18:28

Afbeelding
Avatar gebruiker
Derk
Beheerder
Beheerder
 
Berichten: 12634
Geregistreerd: 27 nov 2003 19:50
Woonplaats: Houten


Keer terug naar PHP, ASP, SQL



cron