|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
& l t ; on tutorials
Hello does any one know what's going on with the tutorials. i keep getting < on them.
this problem is alover the tutorail Quick and Dirty AJAX Tutorial |
|
#2
|
||||
|
||||
|
It is highly likely that the code has been passed through htmlentities twice. Probably when it was stored and then a second time when it is being output. This problem started when the forum was converted to VB.
To fix the problem, someone would need to go through the database and run html_entity_decode() on the data. If you want to use the posted code, make a small php form with a textarea that passes the entered content through html_entity_decode() and saves it to a file. The code in the resulting file should be correct. |
|
#3
|
|||
|
|||
|
Codewalkers is a good site and i think they should give this problem a higher priority and not let their tutorials be waisted.
If some one spent 2 or 3 hours with their excellent coding skills they would be able save all the tutorials with this problem. |
|
#4
|
||||
|
||||
|
The problem does not seem to be present when the php highlighting is used.
Here is a quick form and form processing code that will save the code with the html entities replaced with their actual values - Code:
<form method="post" action="htmldecode.php"> <textarea name="textarea" rows="15" cols="70">Paste code here</textarea><br> <input type="submit"> </form> PHP Code:
|
|
#5
|
|||
|
|||
|
Hi All,
The issue has been corrected in the article. Are there any other articles with this issue? Thanks, Charles |
|
#6
|
|||
|
|||
|
Thanks for fixing this. I will look at the tutorials and post a list of tutorials that need converting.
|
![]() |
| Viewing: Codewalkers Forums > Forum Information > Suggestions & Feedback > & l t ; on tutorials |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|