Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > Beginning PHP
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Beginning PHP Beginning-level PHP discussions. More advanced coders should post to the Pro PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning PHP section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 25th, 2007, 05:53 AM
Authorized User
 
Join Date: Dec 2006
Location: , , .
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default PHP with IFRAME..pls help me its URGENT

Hi,
Can someone pls tell me that how to show mysql query results in iframe.
$query="select * from student";
$result=mysql_query($query);

I want to show the results of the query in iframe just like in excel .I am using
<iframe src="<? while($data=mysql_fetch_array($result)
{echo $data[name];}"></iframe>
but it giving NO Permission error
The query is working fine but not in iframe.

Pls. help me SOON
Thanx in advance
RAAJ



Reply With Quote
  #2 (permalink)  
Old February 25th, 2007, 06:00 AM
Authorized User
 
Join Date: Feb 2007
Location: , , .
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Raj,


the content which u r retriving from database is it the site URL.

Also you forgot to close the php code

<iframe src="<?php while($data=mysql_fetch_array($result)
{echo $data[name];} ?>">
</iframe>
Reply With Quote
  #3 (permalink)  
Old February 26th, 2007, 03:12 AM
Authorized User
 
Join Date: Dec 2006
Location: , , .
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default

 Hi,
Can someone pls tell me that how to show mysql query results in iframe.
$query="select * from student";
$result=mysql_query($query);

I want to show the results of the query in iframe just like in excel .I am using
<iframe src="<? while($data=mysql_fetch_array($result)
{echo $data[name];}?>"></iframe>
but it giving NO Permission error
The query is working fine but not in iframe.

Pls. help me SOON
Thanx in advance
RAAJ

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can any one help me pls Urgent..? venkatu2005 ASP.NET 1.0 and 1.1 Basics 1 April 8th, 2008 08:45 AM
problem with downloading with php..pls help urgent raaj Beginning PHP 1 November 9th, 2007 02:48 AM
values from one iframe to another iframe URGENT raaj Beginning PHP 2 February 27th, 2007 12:19 PM
Urgent, Can someone pls explain ? vanjamier Pro JSP 0 December 10th, 2004 02:32 AM



All times are GMT -4. The time now is 08:37 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.