English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

If i want to dispaly web page in Java,i can write:
try{
URL theURL=new URL(addressTxt.getText());
editorPane.setPage(theURL);
}catch(Exception ex)
when user type website address on addressTxt, that web page will
display into editorPane.
How can i do it in PHP?Can you help me?Thank you so much

2006-08-08 05:51:11 · 4 answers · asked by Anonymous in Computers & Internet Programming & Design

4 answers

if you want to put a webpage within your webpage try using IFRAMES...



and you can use javascript to change the 'src' of the iframe

2006-08-08 22:44:15 · answer #1 · answered by muoreh 2 · 1 0

Im not exactly sure why you want to do this.

First of all, PHP is a server side language, so really, you cannot display a webpage "in" it. PHP scripts are executed long before the page is even loaded.

PHP powers the systems that send the text of forms etc to emails, or it posts them to MySQL databases, where they can then be displayed.

Theres the stuff you see, HTML and the stuff that makes the stuff you seen run, PHP

Again, I wouldnt advise doing whatever it is that your doing.

2006-08-08 06:56:44 · answer #2 · answered by Anonymous · 0 0

that's only a caution meaning your mysql_query() back no outcomes. a probability causes: - you've not any entries in feedback yet - The table call isn't "feedback" in case you in straightforward words haven't any entries in feedback yet, make this substitute to stay away from being shown this caution: if ($effect) at the same time as(@ $row = mysql_fetch_array($effect))

2016-11-23 16:06:07 · answer #3 · answered by tornese 4 · 0 0

I'm not sure if this will help any, but the below link may give you information you don't already know.

http://hotscripts.com/PHP/Tips_and_Tutorials/index.html

2006-08-08 06:38:23 · answer #4 · answered by Ipshwitz 5 · 0 0

fedest.com, questions and answers