Skip to main content
Stack Overflow
  1. About
  2. For Teams

Timeline for Echo PHP variable from JavaScript?

Current License: CC BY-SA 3.0

17 events
when toggle format what by license comment
Apr 11, 2011 at 22:34 history edited Peter Mortensen CC BY-SA 3.0
added 7 characters in body; edited title
Jan 4, 2010 at 11:09 answer added bobince timeline score: 6
Jan 4, 2010 at 10:01 answer added jrharshath timeline score: -1
Jan 4, 2010 at 10:00 answer added Benoît Vidis timeline score: 5
Jan 4, 2010 at 9:56 comment added Justin Johnson In most cases, you should stay away from using @. It's slow and can causes debugging problems down the road.
Jan 4, 2010 at 9:56 vote accept Community Bot
Jan 4, 2010 at 9:50 comment added user188962 Boldewyn, the Q is pretty clear, "how should one call a php variable from javascript code?", do you need more than this then you shouldn't really be here!
Jan 4, 2010 at 9:48 comment added Boldewyn Wow, I haven't seen such a useless example ever since starting at SO. What do you want to tell us with your update?
Jan 4, 2010 at 9:47 history edited user188962 CC BY-SA 2.5
added 97 characters in body
Jan 4, 2010 at 9:47 comment added Boldewyn Can you paste the resulting JavaScript that gets to the browser?
Jan 4, 2010 at 9:45 answer added streetparade timeline score: -1
Jan 4, 2010 at 9:45 answer added K Prime timeline score: 0
Jan 4, 2010 at 9:44 comment added micahwittman It would help if you updated your question with the entire surrounding markup.
Jan 4, 2010 at 9:42 answer added micahwittman timeline score: 11
Jan 4, 2010 at 9:41 history edited user188962 CC BY-SA 2.5
added 3 characters in body; edited title; added 63 characters in body
Jan 4, 2010 at 9:38 comment added Ivan Krechetov You're missing the quotes here: alert (<?php echo "H";?>); Should be alert ('<?php echo "H" ?>');
Jan 4, 2010 at 9:36 history asked user188962 CC BY-SA 2.5
toggle format

AltStyle によって変換されたページ (->オリジナル) /