|
| |||||||||
| Tags: content, dynamic, echo, html, php |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| Php output as html page
I am trying to add some dynamic content to an existing HTML page, which will allow my visitors to select any image from a form and when they submit they would be taken to a page where they can copy and paste the code. The problem over here is i can't echo the html code. Does anyone know how to Echo html and i am trying to use the following code. PHP Code: |
|
#2
| ||||
| ||||
| PHP Programming html output
In that case you can use the below code for echo where both are same. . If you use single quotes, your html should have double quotes. The second one uses single quotes in the html, but has the added benefit of allowing newlines and such. You could combine the two and have both benefits, so it totally depends upon you which echo u want to use PHP Code: |
|
#3
| |||
| |||
| Php output as html page
I am very much confused with it can you provide me the full code in a proper way so that it would be very simple for me to understand the code because i am not able to understand it. I would be very thankful to you. |
|
#4
| |||
| |||
| Php output as html page
Try to use the following code and you would be able to have Php output as html page <?php $url_1 = $_POST['url']; $fil_1 = $_POST['file']; $width_1 = $_POST['width']; $height_1= $_POST['height']; if ($file == "one"){ echo "<embed src=\"$url_1\" width=\"$width_1\" height=\"$height _1\" type=\"application/x-shockwave-flash\"></embed>"; } |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Php output as html page" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to jump down in a Html page | Ron1 | Software Development | 2 | 13-06-2009 07:14 PM |
| How to embed a WMV into an html page | Ameyaa | Software Development | 2 | 19-05-2009 11:37 AM |
| VB6.0 link html page | Taipai | Software Development | 3 | 26-01-2009 06:34 PM |
| page's HTML preload | screwball | Software Development | 5 | 24-09-2008 06:56 PM |
| !!! vbScript Output to an HTML File !!!!! | Ahmed H. Habashy | Windows Server Help | 2 | 28-11-2006 02:49 PM |