473,385 Members | 1,333 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

how to do pop up menu to show detail

20
I have quarried data form DB (mysql) depend on user input and viewed that on a table. originally there is 12 column on my table, but I made only 7 that shows up on the table.

I what that when i click the ID(made it as button/link) it should show a pop up menu/form with full details of that particular row contact.

Expand|Select|Wrap|Line Numbers
  1. <tr>
  2.         <td><center><input type="button" value="<?php echo $row["id"];?>" onClick="detail()"></center></td>
  3.         <td><?php echo $row['name']?></td>
  4.         <td><?php echo $row['unit']?></td>
  5.         <td><?php echo $row['telefon']?></td>
  6.         <td><?php echo $row['faks']?></td>
  7.         <td><?php echo $row['email']?></td>
  8.         <td><?php echo $row['data']?></td>
  9.         <td><?php echo $row['purpose']?></td>
  10. </tr>
the problem is, how can I view the details of each row?

also the popup doesn't work. I'm very bad at javascript(oh wait, I didn't even have the code.) and php+sql connection,

please help me, thank you!
Jan 28 '14 #1
1 1880
i have given idea for that,

You can use ajax for that pass value row on click in ajax and get in success and apply
Expand|Select|Wrap|Line Numbers
  1. window.open("URL WHEN GET VALUE","_blank","toolbar=yes, scrollbars=yes, resizable=yes, width=500px,height=250px"); 
Jan 29 '14 #2

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

Similar topics

3
by: Mike Stephens | last post by:
This is very simple and for the life of me the solution escapes me. How can I align a context menu to the right button of a button? Regards, Mike
1
by: Reza Solouki | last post by:
Hello, I created a menu, all with javascript, inside the top section of a 2 part frame. It is opening fine, however only inside where it is created. The top part of the frame. Thus part of it...
6
by: Jason Rodman | last post by:
I have standard winform that I have hidden the title bar so that I can make my own custom header. I have my own code to drag the form and close/minimize/maximize and even show the title in the task...
6
by: Arjen | last post by:
Hello, I have made a main class. (main.cs) I also have made a menu class. (menu.cs) The reason that I separate is is just for the code overview. Now I want to see the menu calling from the...
1
by: dollar | last post by:
I want to show the master and detail data on a web form (one page) , I don't want to use pop up windows to do that , I want to show the detail data on the same web form when the user click the...
4
by: Randy | last post by:
I am trying to right click on a form and have a custom popup menu display. Does anyone know how to do this in vb.net. Thanks!
3
by: inquisitivemind | last post by:
what I actually want is there should be 2 links at tha top of the page Hide and show. Default should be hide. on clicking it the titled data should not show details and on clicking show, the...
0
by: ryan | last post by:
I am new to vb.net programming and i am trying to figure out a programming issue. I have two forms. One is a list view that has a data bound grid. There are New and Edit buttons on the bottom. ...
10
by: sara | last post by:
Hi - Is it possible to hide the detail section of a report at run time? I have a report that prints all details, with summary lines. The user would like the report ALSO with just summary lines....
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.