Help with simple HTML to PHP variables conversion
Posted: Sun Jan 25, 2009 5:46 pm
Hello!
I have following HTML code with nested php parts:
<img src="galerie/1.jpg" width="<?echo(vratX('galerie/1.jpg'))?>" height="<?echo(vratY('galerie/1.jpg'))?>" onClick="okno('galerie/nahledy/1.jpg','<? echo(vratX('galerie/nahledy/1.jpg'))?>','<?echo(vratY('galerie/nahledy/1.jpg'))?>','Lerg','O.')" style="cursor:pointer">
I would really need to remake it to pure PHP when all this code would be in PHP part of page.
Im not familiar enough with that so I would be very grateful for help. Thank you!
I have following HTML code with nested php parts:
<img src="galerie/1.jpg" width="<?echo(vratX('galerie/1.jpg'))?>" height="<?echo(vratY('galerie/1.jpg'))?>" onClick="okno('galerie/nahledy/1.jpg','<? echo(vratX('galerie/nahledy/1.jpg'))?>','<?echo(vratY('galerie/nahledy/1.jpg'))?>','Lerg','O.')" style="cursor:pointer">
I would really need to remake it to pure PHP when all this code would be in PHP part of page.
Im not familiar enough with that so I would be very grateful for help. Thank you!