TINYMCE code fout?

Overzicht Reageren

Sponsored by: Vacatures door Monsterboard

Top Low-Code Developer Gezocht!

Bedrijfsomschrijving Unieke Kansen, Uitstekende Arbeidsvoorwaarden & Inspirerend Team Wij zijn een toonaangevende, internationale organisatie die de toekomst van technologie vormgeeft door het creëren van innovatieve en baanbrekende oplossingen. Ons succes is gebaseerd op een hecht en gepassioneerd team van professionals die altijd streven naar het overtreffen van verwachtingen. Als jij deel wilt uitmaken van een dynamische, vooruitstrevende en inspirerende werkomgeving, dan is dit de perfecte kans voor jou! Functieomschrijving Als Low-Code Developer ben je een cruciaal onderdeel van ons team. Je werkt samen met collega's uit verschillende disciplines om geavanceerde applicaties te ontwikkelen en te optimaliseren met behulp van Low-code

Bekijk vacature »

Hidde van Koningsveld

Hidde van Koningsveld

02/09/2008 19:53:00
Quote Anchor link
Ik ben bezig om een website met TINYMCE te fabriceren, nu is dit toch wel een beetje een gedoe maar tot nu toe ben ik geloof ik als erg ver. Dit is de code van de HTML pagina met het form van TINYMCE erop:
Code (php)
PHP script in nieuw venster Selecteer het PHP script
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<html>
<head>
<title>Graphalicious - Webdesign</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<style type="text/css">
<!--
body,td,th {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #000000;
}
.style1 {font-size: 12px}
a:link {
    color: #ACBD0D;
    text-decoration: none;
}
a:visited {
    text-decoration: none;
    color: #ACBD0D;
}
a:hover {
    text-decoration: none;
    color: #FFA200;
}
a:active {
    text-decoration: none;
    color: #ACBD0D;
}
-->
</style>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- ImageReady Slices (website108AFMAKEN.psd) -->
<table width="760" height="770" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
  <tr>
    <td colspan="2"><img src="images/website108AFMAKEN_01.png" alt="" width="760" height="319" border="0"></td>
  </tr>
  <tr>
    <td width="227"><img src="images/website108AFMAKEN_02.png" alt="" width="227" height="451" border="0" usemap="#Map"></td>
    <td width="533" background="images/website108AFMAKEN_03.png"><div align="center">
      <p>$content&nbsp;</p>
      </div></td>
  </tr>
</table>
<!-- End ImageReady Slices -->
<map name="Map">
  <area shape="rect" coords="19,91,145,114" href="index.html" target="_self">
  <area shape="rect" coords="22,132,146,154" href="portfolio.html" target="_self">
  <area shape="rect" coords="21,172,145,193" href="faq.html" target="_self">
  <area shape="rect" coords="21,212,145,232" href="offerte.html" target="_self">
  <area shape="rect" coords="19,251,144,273" href="contact.html" target="_self">
</map>
</body>
</html>

en dit de code het bestand waar de submit button naar verwijst:
Code (php)
PHP script in nieuw venster Selecteer het PHP script
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<?php
/* Gathering Data Variables */

    $content = $_POST['content'];
    
html>
head
<title>Graphalicious - Webdesign</title>
<
meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<
style type="text/css">
<!--

body,td,th {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #000000;
}
.
style1 {font-size: 12px}
a:link {
    color: #ACBD0D;
    text-decoration: none;
}

a:visited {
    text-decoration: none;
    color: #ACBD0D;
}
a:hover {
    text-decoration: none;
    color: #FFA200;
}
a:active {
    text-decoration: none;
    color: #ACBD0D;
}
-->
<
/style>
<
/head>
<
body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!--
ImageReady Slices (website108AFMAKEN.psd) -->
<
table width="760" height="770" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
  <
tr>
    <
td colspan="2"><img src="images/website108AFMAKEN_01.png" alt="" width="760" height="319" border="0"></td>
  <
/tr>
  <
tr>
    <
td width="227"><img src="images/website108AFMAKEN_02.png" alt="" width="227" height="451" border="0" usemap="#Map"></td>
    <
td width="533" background="images/website108AFMAKEN_03.png"><div align="center">
      <
p>$content&nbsp;</p>
      <
/div></td>
  <
/tr>
<
/table>
<!--
End ImageReady Slices -->
<
map name="Map">
  <
area shape="rect" coords="19,91,145,114" href="index.html" target="_self">
  <
area shape="rect" coords="22,132,146,154" href="portfolio.html" target="_self">
  <
area shape="rect" coords="21,172,145,193" href="faq.html" target="_self">
  <
area shape="rect" coords="21,212,145,232" href="offerte.html" target="_self">
  <
area shape="rect" coords="19,251,144,273" href="contact.html" target="_self">
<
/map>
<
/body>
<
/html>
    
/* Results rendered as HTML */

    $theResults = <<<EOD
<html>
<head>
<title>Graphalicious - Webdesign</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<style type="text/css">
<!--
body,td,th {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #000000;
}
.style1 {font-size: 12px}
a:link {
    color: #ACBD0D;
    text-decoration: none;
}
a:visited {
    text-decoration: none;
    color: #ACBD0D;
}
a:hover {
    text-decoration: none;
    color: #FFA200;
}
a:active {
    text-decoration: none;
    color: #ACBD0D;
}
-->
</style>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- ImageReady Slices (website108AFMAKEN.psd) -->
<table width="760" height="770" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
  <tr>
    <td colspan="2"><img src="images/website108AFMAKEN_01.png" alt="" width="760" height="319" border="0"></td>
  </tr>
  <tr>
    <td width="227"><img src="images/website108AFMAKEN_02.png" alt="" width="227" height="451" border="0" usemap="#Map"></td>
    <td width="533" background="images/website108AFMAKEN_03.png"><div align="center">
      <p>$content&nbsp;</p>
      </div></td>
  </tr>
</table>
<!-- End ImageReady Slices -->
<map name="Map">
  <area shape="rect" coords="19,91,145,114" href="index.html" target="_self">
  <area shape="rect" coords="22,132,146,154" href="portfolio.html" target="_self">
  <area shape="rect" coords="21,172,145,193" href="faq.html" target="_self">
  <area shape="rect" coords="21,212,145,232" href="offerte.html" target="_self">
  <area shape="rect" coords="19,251,144,273" href="contact.html" target="_self">
</map>
</body>
</html>
EOD
;
echo "$theResults";
?>


ik heb hem al hiermee gecheckt: http://www.meandeviation.com/tutorials/learnphp/php-syntax-check/
maar die zei alleen maar:
onverwacht teken > op regel 6, en na het verwijderen van dat teken zei hij dat het op de volgende regel zich voordeed. Hier wordt ik dus ook niet echt wijzer van. Iemand een idee wat er mis is met de code?
 
PHP hulp

PHP hulp

07/05/2024 17:45:35
 
Douwe

Douwe

02/09/2008 20:14:00
Quote Anchor link
Je moet je HTML uit de PHP halen. En <html> en <head> weer fixen ;) (< en > terugzetten).
 
Hidde van Koningsveld

Hidde van Koningsveld

02/09/2008 20:36:00
Quote Anchor link
moet ik alle html code eruit halen? hoe moet het dan met echo?
 
Douwe

Douwe

02/09/2008 20:43:00
Quote Anchor link
Nee, gewoon buiten de PHP-tags.
 
Hidde van Koningsveld

Hidde van Koningsveld

03/09/2008 13:04:00
Quote Anchor link
ik heb al in de scriptsdatabank een script gevonden (Simpel 'CMS' dmv TinyMCE)
Gewijzigd op 01/01/1970 01:00:00 door Hidde van Koningsveld
 



Overzicht Reageren

 
 

Om de gebruiksvriendelijkheid van onze website en diensten te optimaliseren maken wij gebruik van cookies. Deze cookies gebruiken wij voor functionaliteiten, analytische gegevens en marketing doeleinden. U vindt meer informatie in onze privacy statement.