Jump to content

gagards200

Members
  • Posts

    20
  • Joined

  • Last visited

    Never

Everything posted by gagards200

  1. The syntax below will give you 1 textbox and one button... In everytime I will click the button it will populate 1 textbox at a time... Now I need your help on how to get the content each of the textbox that has been populated.. Your urgent help is highly appreciated and GOD Bless Always..PHP FREAKS.. <html> <head> <title>Dynamic Form</title> <script language="javascript"> function changeIt() { var i = 1; my_div.innerHTML = my_div.innerHTML +"<br><input type='text' name='mytext'+ i>" } </script> </head> <body> <form name="form" action="post" method=""> <input type="text" name=t1> <input type="button" value="test" onClick="changeIt()"> <div id="my_div"></div> </body> </html>
  2. Hello guys I am newbies in javascript and i hope you will help me.... I have a list box with contents from 1-5 in which the user will choose or select, -------------if the user will select 1 from this listbox my program will dynamically show 1 lisbox only below -------------if the user will select 2 from this listbox my program will dynamically show 2 lisbox only below -------------if the user will select 3 from this listbox my program will dynamically show 3 lisbox only below -----------------so on and so forth............ Any ideas or suggestions guyz..i know this is easy for some of you guyz but i need help for this issue..thanks in advance..
  3. His Sir thanks for your response, but first i apologized because you are right that this needs javascript..because i want this happen dynamically..could you give me any links or simple tutorials, suggestions to do this? you are right that if the user will input 3 it will display 3 sets of year, month and day...waiting your positive reply.....
  4. hello guys I am a newbies in php and I need your kind help... The syntax below will output a 12 listbox...what I want is I will add one listbox for the user option.. It means: If user will select 1 - it will show only 1 listbox instead of 12 If user will select 2 - it will show only 2 listbox instead of 12 If user will select 3 - it will show only 3 listbox instead of 12 If user will select 4 - it will show only 4 listbox instead of 12 ...........so on and so forth... Can anyone help me guys? <select name="ppm_sched1"> <option>2011</option> <option>2012</option> <option>2013</option> <option>2014</option> <option>2015</option> <option>2016</option></select> <select name="ppm_sched2"> <option>01</option> <option>02</option> <option>03</option> <option>04</option> <option>05</option> <option>06</option> <option>07</option> <option>08</option> <option>09</option> <option>10</option> <option>11</option> <option>12</option></select> <font face="Arial" size="2"> 6.</font> <select name="ppm_sched3"> <option>2011</option> <option>2012</option> <option>2013</option> <option>2014</option> <option>2015</option> <option>2016</option></select> <select name="ppm_sched4"> <option>01</option> <option>02</option> <option>03</option> <option>04</option> <option>05</option> <option>06</option> <option>07</option> <option>08</option> <option>09</option> <option>10</option> <option>11</option> <option>12</option></select> </td> </tr> <tr> <td bgcolor="lightblue" align="right"><font face="Arial" size="2">2.</font></td> <td bgcolor="pink"> <select name="ppm_sched5"> <option>2011</option> <option>2012</option> <option>2013</option> <option>2014</option> <option>2015</option> <option>2016</option></select> <select name="ppm_sched6"> <option>01</option> <option>02</option> <option>03</option> <option>04</option> <option>05</option> <option>06</option> <option>07</option> <option>08</option> <option>09</option> <option>10</option> <option>11</option> <option>12</option></select> <font face="Arial" size="2"> 7.</font> <select name="ppm_sched7"> <option>2011</option> <option>2012</option> <option>2013</option> <option>2014</option> <option>2015</option> <option>2016</option></select> <select name="ppm_sched8"> <option>01</option> <option>02</option> <option>03</option> <option>04</option> <option>05</option> <option>06</option> <option>07</option> <option>08</option> <option>09</option> <option>10</option> <option>11</option> <option>12</option></select> </td> </tr> <tr> <td bgcolor="lightblue" align="right"><font face="Arial" size="2">3.</font></td> <td bgcolor="pink"> <select name="ppm_sched9"> <option>2011</option> <option>2012</option> <option>2013</option> <option>2014</option> <option>2015</option> <option>2016</option></select> <select name="ppm_sched10"> <option>01</option> <option>02</option> <option>03</option> <option>04</option> <option>05</option> <option>06</option> <option>07</option> <option>08</option> <option>09</option> <option>10</option> <option>11</option> <option>12</option></select> <font face="Arial" size="2"> 8.</font> <select name="ppm_sched11"> <option>2011</option> <option>2012</option> <option>2013</option> <option>2014</option> <option>2015</option> <option>2016</option></select> <select name="ppm_sched12"> <option>01</option> <option>02</option> <option>03</option> <option>04</option> <option>05</option> <option>06</option> <option>07</option> <option>08</option> <option>09</option> <option>10</option> <option>11</option> <option>12</option></select> </td>
  5. Thanks ruinix....your reply gives me an idea on how to solve my problem..tnks a lot..continue the good work...
  6. Hello Guys I just want to ask if I will send email using php syntax do I need to configure the php ini settings? Any ideas how to configure it? Your usual cooperation is highly appreaciated. God Bless..
  7. Thanks Mr. Adam, Yes there is already IIS Web Server in the server, and the OS in the Server is "Windows Server 2008". Is the IIS Web Server can handle my database? or I need to install the xampp package so that it will work? Thnks..
  8. Dear Guyz... I am using XAMPP to my program in my personal computer, my boss want to upload it in their company server, Can I install xampp in the company server so that I can used online database? Please give me idea..
  9. Hello Guys, Thank you for your help before, now I need your help again. I am using xampp as the package installer, I want my program (with database) to be publish in the internet,My question is if I will install XAMPP in the server computer is it automatically make interaction with my database to my clients or I need to configure something... Please help me guys..I am making the website of my company now..God Bless..
  10. Hello Guys, Thank you for your help before, now I need your help again. I am using xampp as the package installer, I want my program (with database) to be publish in the internet,My question is if I will install XAMPP in the server computer is it automatically make interaction with my database to clients or I need to configure something... Please help me guys..I am making the website of my company now..God Bless..
  11. Dear All, Guyz could you help me how to run the php script using scheduled task in windows operating system? Your help will solve my problem guyz..
  12. Hello Guys, can anyone know any tutorials or script to make a reminder program that will remind the user in advance. Your concern and help is highly appreciated.
  13. Thanks for the idea sir, could you give me which language is better for this project?
  14. Greetings!! I want to design an alarm system that will remind me or something will pop up if the time is near. Could you give me guyz any idea how to make it in PHP and mysql? Your immediate reply is highly appreciated.
  15. Hello guyz.. I need the help of anybody who knows to make executable file in php and mysql...I am using xampplite in my program and I want to distribute to my clients.. Anybody knows it guys? Your usual cooperation is highly appreciated.
  16. Tnks Mr. Pickachu....it really helps...thanks for your help...
  17. Hello Guys can anybody help me to get the sum or total of the Net Salary in the below loop? while($row = mysql_fetch_array($result)) { echo "<td>" . "<font face='Arial' size='2'>" . $row['Employee_Name'] . "</td>" . "</font>"; echo "<td>" . "<font face='Arial' size='2'>" . $row['Basic_Salary'] . "</td>". "</font>"; echo "<td>" . "<font face='Arial' size='2'>" . $row['Total_Salary'] . "</td>". "</font>"; echo "<td>" . "<font face='Arial' size='2'>" . $row['Gross_Salary'] . "</td>". "</font>"; echo "<td>" . "<font face='Arial' size='2'>" . $row['Net_Salary'] . "</td>". "</font>"; echo "<td>" . "<font face='Arial' size='2'>" . $row['Date_Covered'] . "</td>". "</font>"; echo "</tr>"; } Here I want to display the total of all the Net Salary that the while loop display from the database.... I did like this but it doesn't work............. $total =$row['Net_Salary']; $ftotal= $total + $total++; Any idea guyz please help me, I am new here and I expect the php freak will help me in this problem..
  18. hello guyz..i have a little problem here.. I have two tables: 1. Employee Data 2. Sales Report Now each table has uniqued Id_Number, how can I make the Id_Number of the first table as the index to the second Table. Can u give me idea on how to do it during inserting of records... I know this very simple for some of you but still I need you help.. Thanks in Advance...
  19. Thank you for your immediate reply.....it seems like this... Employee Table Employee_Id Field2 Field3 Field4.......etc. My Employee_Id is not auto increment, meaning i made it through randomize, when i will insert a record of course they will insert also Employee_Id, like 00000123....Now when I will insert again new record with the same data they will give me new Employee_Id, I want to save data to his Employee_Id created during first time he insert record. Really I am not sure how to fixed it, so that when I will search by Employee_Id it will give me the history of his record. If you have any idea how to make it please share it to me, thanks again and GOD BLESS....
  20. hello guyz..im just new in this forum, hope that you guyz can help me with my problem..... i have a payroll database in which Employee_id is the primary key, i assign already an Employee_id for all the employees for this month, my problem is for the next month they will make a new transaction my syntax give them again a NEW Employee_id, what I want to happen is that their Employee_id that he took before was already their permanent Employee_id. Any idea guys how to solve this, Im just new in this forum, your help is highly appreciated....
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.