php / Javascript code adjusting

In Progress

I need a script that runs on php and javascript.

The script should output javascript to the webpage, but it should work in php.

For example

If I have this code (but replace [ with <):

[script] [url removed, login to view]("Hello!"); [/script]

I need a script written in php that will turn that code above to this (this is just an example it will not work, this is the project to make it work):

[script type="text/javascript"]

//here would go code to make the code below execute/appear on the page.

"", " ", "d", "o", "c", "u", "m", "e", "n", "t", ".", "w", "r", "i", "t", "e", "(", """, "H", "e", "l", "l", "o", "!", ""

[/script]

So there should be php code looking like this (but real php code, this is just an example guide)

[? php

$code = "[script] [url removed, login to view]("Hello!"); [/script]"

output_code = "[script type="text/javascript"] $code [/script]"

?]

Then it should make this appear on the webpage when you view source:

[script type="text/javascript"]

//here would go code to make the code below execute on the page.

"", " ", "d", "o", "c", "u", "m", "e", "n", "t", ".", "w", "r", "i", "t", "e", "(", """, "H", "e", "l", "l", "o", "!", ""

[/script]

If you have any other methods of doing this other than php or javascript then this is also fine, as long as the result is the same.

Please quote Jelly in your reply to show you have read this project fully.

Skills: AJAX, Javascript, PHP

See more: code 30, php JAVAScript, php script execute, text javascript, php code write, javascript read text, php code example, work project php, php project code, php adjusting, php javascript example, javascript webpage, code project php javascript, javascript code script php, guide php script, webpage javascript, php read webpage, javascript project view, read php code, php page example, schumassa, code script, guide php, php javascript work, javascript replace

Project ID: #4519520

Awarded to:

sszelag

"jelly" Hi, I'm interested in this project, please refer to PM as i have some questions.

$35 USD in 3 days
(9 Reviews)
3.8

9 freelancers are bidding on average $93 for this job

DesignSolutionSW

Hello There!Please check PM.Thanks.

$34 USD in 1 day
(60 Reviews)
7.0
webedeveloper

Jelly: Experienced team to accomplish this Project and please review further discussion in private message. Thank you!

$103 USD in 3 days
(86 Reviews)
6.8
acesolution

Ready to do that now.

$54 USD in 1 day
(110 Reviews)
6.6
bigdognec

Should be easy enough to do! Private message for details

$50 USD in 3 days
(67 Reviews)
5.4
Digi7Solutions

Hi, Please Check Pm

$140 USD in 3 days
(56 Reviews)
5.1
extreamcode

HI, understood.Let's get it started.

$93 USD in 3 days
(4 Reviews)
4.6
MagicalDesigner

Sir i want to start work with you its pleasure to me. Please Check PMB.

$111 USD in 3 days
(14 Reviews)
4.2
NewWindow

your work will be done with satisfraction (jelly)

$147 USD in 2 days
(8 Reviews)
3.8
franceson2it

Kia ora! On2itonline.com are a NZ based web and software design company who have seen you here on the freelance market and are really excited about working with you and treating you to the full service, professional ex More

$206 USD in 6 days
(0 Reviews)
0.0