- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 6
- Posts with Downvotes
- 6
- Downvoting Members
- 2
49 Posted Topics
my code has a print button and when that is clicked i want a new window to open up wit a list of details that the user edits. that is all the data of the form. (only the values) how do i do this? | |
Hi so i have a search box of a student database. and when searched the results are displayed in a tabular form. i first used window.print to just print out the search results div if the users want some sort of a report. but when using window.print the css is … | |
i need Given a set of numbers on the command line (partition an array) It should check whether a solution exists and if so print the two sets upto now the code i have seems to parttion each integer, what i need is for it to partition the array as a whole, for example lets take the array[1,2,3] this can be divided as [1,2] and [3], we can see that … | |
ive been coding the plain old procedural way in php and i want to move that code to object oriented. can i just simply use my currently written php code into a function and then call it? pleas let me know an easy way to make my normal php code … | |
i want to create a successful file upload component in a site and i have used and gone thru countless tutorials but it does not seem to work. here is the code i am using [CODE]<html> <body> <form action="upload_file.php" method="post" enctype="multipart/form-data"> <label for="file">Filename:</label> <input type="file" name="file" id="file" /> <br /> … | |
This is a table customization in a search form. I need the ticked checkbox values to be passed to the pdf.php in order for the table to be customized. but the table is not filled nor is it customised. [CODE]<?php //access incoming name, id or radio button values $cs = … ![]() | |
Im trying to customise search fields and then display in a pdf but the code just doesnt work. can someone take a look and see why exactly this is not working? if u see any mistakes? [CODE]<?php //access incoming name, id or radio button values $cs = $_GET['cs']; $name=$_GET['name']; $uni=$_GET['uni']; … | |
Hi, well what i need to do is, through a certain interface there are assignment upload calls given by the admin, this is that interface [CODE]<html> <head> <script type="text/javascript"> function remlink(num){ var rownum=num; var rowid = "subname_"+rownum; var sn=document.getElementById(rowid).innerHTML; var cnfrm = confirm ("Are you sure you want to remove … | |
Hi Does Anyone know how to display a table based on user selected fields? In my search box, once the user searches lets say all the female students, all the female students will show with all the fields of that particular table. then if need to print a report i … ![]() | |
hi - i have coded a seacrch box and its results are displayed in a tabular form. i have also a print button which when pressed shud create a pdf based on that table that is displayed. for this i have a separate page called pdf.php. i am using ezpdf … | |
hi below is the code i am using to try and execute a pdf report. now the following code i saved in a separate file in the website folder itself. and in the form that contains the print button, when clicked i want it to execute the code in the … | |
i have downloaded and extracted fpdf into my root folder site folder.. i want to know how i can generate a pdf file when i press a button called print. please help? and wehre do i put this fpdf code? is it in the script that contains the output? | |
Doing a system in drupal using php and mysql. Want to integrate a function for reporting - that is print out watever search result in the search page which displays in tabular form. please help. i have only heard of jasper reports. is there something simpler? if so wat n … | |
Doing a System in Drupal - coding with php and mysql - want to know how i can integrate jasper reports to it so i can generate reports at the click of a button.. does anyone know? please help.. | |
Hi i have downloaded a php class from a website. and i want to know how i am to integrate it with my system??? i mean do i unzip the file to where? please help! | |
working on a form to update particular user details if required. as you can see there is also a print button. i want to know how i can print out the div=formData if print button is clicked. according to my current code when print is pressed the whole form itself … | |
i have used the below function to open a separate page for search results to open up in - althoug it seems that the css seems to get messy what must be the problem? is anyone willing to help? if so please let me know ur skype add so i … | |
i want a print button to be able to print out details of a php form by connecting to a printer. can someone explain this to me with an example code please? | |
working on a system with 2 tables both have the exact same fields - the tables are past_participant and course_participant - CP table has all current students whilst the PP has only past students. after a course concluded, that set of students is transferred from CP to the PP table. … | |
So here is my search query set [CODE]/all possible input combinations //name and id combinations if($q != '') { if($id != '') { $sql = "select * from course_participant where name LIKE '%$q%' and nic='$id'"; $result = mysql_query($sql); $num_rows= mysql_num_rows($result); }else{ $sql = "select * from course_participant where name LIKE … | |
so there are 2 tables course participant and past participant - both have same fields. i want to write a query that selects both from course participant and past participant if search option "find all" is called. i out everypossible combination but it just doesnt get right - pls help | |
[CODE]//only completed successfully if($cs =='yes') { $sql = "select * from past_participant where completion LIKE '%$cs%'"; $result = mysql_query($sql); $num_rows= mysql_num_rows($result); } else if($cs =='no') { $sql = "select * from course_participant FULL JOIN past_participant ON completion LIKE '%$cs%'"; $result = mysql_query($sql); //$num_rows= mysql_num_rows($result); }else if($cs =='current') { $sql = … | |
ok so i have to tables and i want to have a query that selects all from "table a" and "table be" where "a certain variable"="$x".. how do i select all from 2 tables at once? | |
Hi - here is my code - it is for searching what i have done as u can see is - for every results the CP_ID is hyperlinked and opens up to the edit page. but no value gets passed. what i want is when a search result appears i … | |
i have coded to display a search result, or results, in table, and what i need is a way to select that record and send it to another page. how can i select a record, if a radio button is added just before the result record, how can u click … | |
Im working on this searh field and i finally can search from the database using an entered name or national ID no, when i press the find button. But i dont know how to incorporate radio buttons to be submitted to execute a query. can someone help me . my … | |
As you wud have seen i am working on a search field, how do you select one displayed result and then use it for editing? how to dynamuically point the mouse at a result and then edit it through a form which is on another page called "Edit Details" | |
hi im working on a search field in drupal for a system that maintains student information. i have one interface that has the search student info box and the other which is search results i wrote some php code to search the and there are no errors yet still its … | |
I am doing a system in drupal - and i am also coding in php in the drupal pages i create to connect to a database and display results for various requirements. How do you redirect a certian page to another page in drupal? do we use the node number … | |
i installed wampserver yday and it worked fine when i typed in localhost in the browser. but today when i type localhost to see if apache was running without a problem - it displays the root directory that is the folders contained inside the www directory in a page named … | |
Cant HTML be used for client side event handling??? can someone please explain why!! | |
Using following HTML Code please show me how to write PHP code to accept and delete the incoming data entered through the form below. from the following MySQL database and table. [B]Database[/B] = hrms [B]Table[/B] = Student [B]Fields[/B] = StdNo(Number), Name(String), Address(String), Contact No(String) [CODE] Student No<Input type='text' name='txtStdNo' /> … | |
ok so my development folder is in xammp htdocs (php codes) i am trying to insert an image to a table and when i display it on the php pages, it does not show why is this?? i used the absolute and relative path both. the images i need to … | |
[CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <form name='frm1' method="post" action="student.php"> Student No <input type="text" name='txtStdNo' /> <BR /> Name <input type="text" name='txtName' /> <BR /> Address <input type="text" name='txtAdd' /> <BR /> Contact No <input type="text" … ![]() | |
please help write a javascript function to do a client side validation of the html form i have displayed below. the validation should check if input box Student No cannot be empty; if the txtStdNo box is empty there should be a message "Cannot be empty" and move the cursor … | |
Please help me with my follwing code. this can only check if username textbox is empty. how do i also make it so that it checks if password textbox is empty and thereby give an error??? please help. [CODE] <html> <script type="text/javascript"> function validateFormOnSubmit(strng){ if(strng.value=="") { alert("Empty"); return false; } … | |
Please help. i do not know how to do this as i am a java beginner. i only know to use a string and output. how do i do this with a loop? this shows to the side bit it should be in the middle.... like an upside down A … | |
Can someone please explaon the difference of the above action listeners?? it seems like they both do the same thing - that is close a frame/window. big help thank you | |
Here is my code - i want b1 to close the window when i press it public class Main { public static void main(String[] args) { javax.swing.JFrame w1 = new javax.swing.JFrame(); javax.swing.JButton b1 = new javax.swing.JButton(); w1.setBounds(0,0,300,300); java.awt.Container c = w1.getContentPane(); c.setLayout(null); b1.setText("Exit"); b1.setBounds(100, 100, 100, 30); c.add(b1); w1.setVisible(true); } … | |
please help with the following 1) i have created a simple java software using netbeans and want to finalize it by making a setup for it or a software that can be used like offered on the web. all i know is to use it as the netbeans project folder, … | |
I am a beginner to java and i find it very difficult. can someone please help and tell me how you identify a main method in an application and also how do i make a jbutton call a certain method and output it to a text field? please explain with … | |
I would like to know a list of systems (standalone) that can be made using JAVA. For example payroll system, billing system etc. Please state some simple systems that requires basics of OOP and few swing codes. Thank YOU :) | |
I am a beginner to java - my university course module requires me to do an assignment - that is choose a system and build one. i have chosen "Student Grading System" - this wont require a database. i need to just enter student marks and thereby determine that subject … | |
i would like to know what are the functional requirements of such a system as i am planning to build one. this has to be as simple as possible. please help. Thank you | |
i have installed drupal in my xampp root. but recently even though my drupal sites work, when i call localhost, unlike other times where "xampp" page shows up to say that apache server is running successfully does not show and the following errors display. Warning: require_once(C:\xampp\htdocs\includes\defines.php) [function.require-once]: failed to open … | |
what is the script to customise a login. for example if "abc" logs in to the website, how do i get it to display "Welcome abc", if "pqr" logs in "Welcome pqr" and so on... please help! | |
how do i add an image path to a mysql table of mine which has "product image" as a field. i have saved the necessary images to images folder in root folder as well... please help! ![]() | |
In need of creating an online fast food delivery system - please help... no idea how to begin! this is for a group assignment in university. we have to design a creative user and admin interface... | |
we have just started learning PHP as a course in our 2nd year subject Internet Application development. below are the codes that we have worked on so far. [B][U]Homepage :[/U][/B] [code=html]<HTML> <HEAD> </HEAD> <BODY bgcolor='yellow'> <P align='center'><FONT color='blue' size='6'>ABC & Company</FONT></P> </BODY> </HTML>[/code] [B][U]Login.php :[/U][/B] [code=html]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML … |
The End.