Please help me in this project

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
krish_php
Forum Newbie
Posts: 1
Joined: Tue Apr 24, 2007 2:02 am

Please help me in this project

Post by krish_php »

Hello Sir,

I had made one list for my site. There are some record and that display in this format

SrNo. CustCode First Name Last Name
001 CS001 RAVI VERMA
002 CS002 MAHESH PATEL
003 CS003 NIMESH DEV

now want when i click on any row then it open one small new window(similar to pop-up window but no pop-up window because many people keep pop-up blocked in their browser) and show that row all destails. Means in that small window it will display CustCode, First Name, Last Name, Address, PhoneNo, E-Mail and their Pic in a proper format.

Please help me in this work. I am new in PHP but i want to complete it. Please provide me code for this work. I search this code many places but did not got.

Thanks a lot in advance

Regards
Krish
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Post by Christopher »

You can open a new window either by specifying target="_blank" in you HTML link or using Javascript and window.open(). You would need to pass the record ID in the URL and have the detail page load the data for that record.
(#10850)
User avatar
CoderGoblin
DevNet Resident
Posts: 1425
Joined: Tue Mar 16, 2004 10:03 am
Location: Aachen, Germany

Post by CoderGoblin »

If you want the full code you will likely need to pay someone :wink: . A typical method however is, if you know all clients use javascript, is through something called AJAX. The AJAX code would fill in an initially hidden <DIV> block which would then be shown centered and above everything else. Useful things to search for include AJAX and even possibly tooltips as they often have what you would want for the <DIV> CSS.
Post Reply