473,509 Members | 2,857 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Calling two php scripts from my main page.

2 New Member
I have a need to call two php scripts from my main page. The output of the php script must display in two separate frames or sections of the same window. Any one has any idea how to accomplish this? I am a beginner to web development. Please help.
Oct 20 '09 #1
3 1491
Dheeraj Joshi
1,123 Recognized Expert Top Contributor
@dulany

You mean, you want to redirect to two PHP scripts on some condition?

I mean, if event A occurs then go to A.php, else if B occur go to B.php..??

Is this you want or??? I am not clear about your requirement.

Regards
Dheeraj Joshi
Oct 21 '09 #2
dulany
2 New Member
Well, basically this is what I want done. I have a list of servers on the first frame. When I click on any of these servers, it should output the contents of A.php in second frame and B.php in third frame. If I can do this with div then that would be better as well.
Oct 21 '09 #3
acoder
16,027 Recognized Expert Moderator MVP
If you're using frames, you can set the target to those frames:
Expand|Select|Wrap|Line Numbers
  1. <a href="a.php" target="framename">
You should, however, try to avoid frames where possible. You can use Ajax.
Oct 25 '09 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
3392
by: Dariusz | last post by:
I have a problem with a call a Javascript "window.open()" function which is executed as part of a PHP file when a user clicks on an thumbnail image. The PHP is executed which passes some variables...
0
1244
by: koji kabuto | last post by:
I need to add the login boxes in my main page. I use PHPLIB and I see that I can define a login page, but this login page should not be the main page. So, how I can login in the main page? ...
3
2312
by: lozd | last post by:
Would appreciate any solutions people could offer for this. Basically I wan't to use a frameset with an aspx page as the contents rather than a htm page and I'd like to be able to redirect the...
0
1008
by: Rabeek Ahamed | last post by:
I am calling a popup window from the main page. That popup has to return list of values in an array. How can i return arrays to main page from pop up? And I want to list those array of values into...
2
1260
by: jesper_lofgren | last post by:
Hi, I have a main page that contians some webcontrols. On the main page i have a asp:button id="Save". The thing is that i want to trigger a save event in all webcontrols when i cklick on the...
2
1957
by: Italian Pete | last post by:
Hi, I have a search bar as a User Control sitting on a Page. The asp web control search button has its OnClick event set to a method "Search" which sets a bool isSearch to true. When I try to...
0
901
by: deepthi8511 | last post by:
Hi im new to .net and im facing a pblem with modal dialog box ive a button in main page and 2buttons in modal page ,button in main page is primarily invisible when the modal page l;oads and the...
2
3062
by: thuythu | last post by:
Please help me.... I used and Javascript to view the data. But when i click button open a popup windows, then select data and click save button. The popup close and return the main page, but the...
2
1799
by: erag | last post by:
Hi im newbie to java, and i want to set the language change according to main page..how to create it? here is my coding: main page: import org.eclipse.swt.SWT; import...
0
7136
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7344
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7412
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7069
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5652
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5060
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4730
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
1
775
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
441
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.