Client Side Things
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesClient Side Things

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old June 18th, 2004, 04:11 AM
w011117 w011117 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 2 w011117 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Call PHP from HTML

Relative PHP newbie....

Can you call a PHP script from an HTML file and have it return something?
I have a small area on a HTML web page that I want to dislay some data returned by a PHP program.
Is there anyway to call and get text returned from an html file besides using a form?

thanks,
TGW

Reply With Quote
  #2  
Old June 18th, 2004, 09:41 AM
zareef zareef is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Ghaziabad,Uttar Pardesh, India
Posts: 55 zareef User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via Yahoo to zareef
RE: Call PHP from HTML

If this HTML area is a html frame you can call a php script in src tag

zareef ahmed

Reply With Quote
  #3  
Old June 19th, 2004, 01:14 AM
w011117 w011117 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 2 w011117 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: Call PHP from HTML

Hi zareef,
No this is not a frame. I have php code that retrieves a stock quote and want to put that quote inside of a small rectangular area on the page. The page is an existing html and I did not want to change it to a php page.....

TGW

Reply With Quote
  #4  
Old June 21st, 2004, 01:54 AM
austinb austinb is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: TX
Posts: 59 austinb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: Call PHP from HTML

If you dont mind using js, make everything you echo in php begin with:
document.write('

and end with:
');

then add:
<SCRIPT language=JavaScript src="yourpage.php"></SCRIPT>

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesClient Side Things > Call PHP from HTML


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway