Jump to content

Javascript , reading a particular text!


Fsoft

Recommended Posts

Hey Friends,

 

Long time, almost three months I wasn't here on phpFreaks...

 

Well but as if I ever need any help in programming phpFreaks and the staff is always here !

 

Well this time I need help in Javascript :( being honest I have no experiance in Javascript so this is why I am here !

 

so.addParam('flashvars','streamer=lighttpd&autostart=true&file=http://pakheart.com/tutorial1.flv');

 

Well in this line of code , as you can see it's in <javascript> format!

 

Well, the problem is that from this entire code I want to use it in php get a variable called $tutorial1 ; and the variable when I echo it out the BOLD text should be echoed out, so it means $tutorial1 = "http://pakheart.com/tutorial1.flv";

 

If this was php I could do some thing but it's in Javascript :( and I know nothing about it :( so I don't know how to grab a particular info from a javascript line and putting into a variable :(..

 

Please help me, I will be very thankful to you,

 

Badly waiting for answer,

FAISAL!

Link to comment
https://forums.phpfreaks.com/topic/137916-javascript-reading-a-particular-text/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.