Jump to content


  • Content Count

  • Joined

  • Last visited

Everything posted by houssam_ballout

  1. Hello All,I was reading this tutorial and the example about creating a contact form, but I was wondering if I can had 2 contact forms on the same page, can someone help?The link is:http://www.bitrepository.com/a-simple-ajax...validation.htmlThanks in advance
  2. Yeah I know, but with AJAX I heard that you can do amazing work, right?
  3. I could handle it via php on the same page, but while searching I see that this could be done easily via AJAX, can you help?Thanks
  4. Hello all,I am developing a html & php contact page,I am newbie in programming, I need to know how to validate my form through html and when I press submit, I need to stay on the same page and give the user a message telling him/her so.Any help
  5. Hello all,I don't know if this is the correct to place this question, but I'd 2 rows with menu in the upper row, when the user put mouse over on the any item in the menu, he should get a sub menu in the next rowAny help?Thanks a lot
  6. Hello all,I'd developed a simple application using php, when I print out a page, the footer contains the location (path) of the file that is printed, how can I remove it?Thanks in advance
  7. Hello all,The code below is for selecting the search criteria, the question that I'd:near each select box there is a search click, so that the user can click on it and search for the things that he/she want, I want to know what did the user chose from the select box when he click the search?thanks
  8. I'd used this javascript and it works:<script><!--function doBlink() { var blink = document.all.tags("BLINK") for (var i=0; i<blink.length; i++) blink.style.visibility = blink.style.visibility == "" ? "hidden" : "" }function startBlink() { if (document.all) setInterval("doBlink()",1000)}window.onload = startBlink;// --></SCRIPT>
  9. Hello all,I tried this out on Firefox and is working, but not on IE.<blink>Test</blink>Why?
  10. Hello all,Is there some way to make the results from the sql query looks like a graph (a simple one)?Thanks in advance
  11. hello all,I am trying this sql:select count(OptionNb),comments from tblanswer where idQuestion = $idQuestion And OptionNb = 'option$i' and I got this errorMixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clauseHow could I solve it ?Thanks in advance
  12. hello all,I am building a questionnaire, so each question has different options (checkbox, radio button and comments which is text box).I'd multi radio buttons that are created dynamically and text boxes and radio buttons (which are working great except the radio buttons), because I should gave them same name.I think of way, by giving the radio buttons the name which is $idQuestion , in order for the user to be able to select one radio button for each question, but how can use that array when the form is sent back?Thanks in advance
  13. Hello all,I'd multiple checkboxs and radio buttons , and they are generated automatically based on the database that I'd (mysql)..on my page, I had queried all the questions and number of options, part of the code that I think you need is:for($i=1;$i<=$NbOptions;$i++){if($MultiAnswer == 'yes'){echo "<input type='checkbox' name='box[]' value='$idQuestion_$i' />" . $row2['option'.$i];echo "<br />";}else{echo "<input type='radio' name='box[]' value='' />" . $row2['option'.$i];echo "<br />";}}when I press save ,I useif(isset($_POST['save']))//here I want to loop through
  14. Hello all,I'd a form I want to enable a text when a check box is enabled and vice versa? Could I do that without form submission?Thanks in advance
  15. Hello all,I don't know if this is the right place to ask such question.I'd done a form in HTML with drop down box (composed of numbers) which when selected it display the number of text boxes accordingly. I am facing a problem which is: when the form is finally submitted it takes the default number in the drop down box which is 1.I need a help so that I don't want the page to be refreshed when I select the number from the drop down box?Thanks for your help
  16. Hello all,on the html page I'd make link so that when the user clicks on it, it will delete the data with that associated ID,<a href="question_edit.php?action=delete">Delete </a>How could I retrieve the fact that I'd click on that link?for example, like in : ifisset(action......)Thanks in advance
  17. Helo all,I am building an applications using php, I'd created a page where the user can add questions. I gave him the option to add different answers by selecting the number of options from a drop-down box.The code below is running but I'd to click the button to add my number of boxes, I want to make in a way , that when I select the number of boxes from the drop-down to create it automatically (in other way, call the form submit automatically)?Thanks in advance<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><htm
  18. Well, I'd got you.But I am not expert in scripting the mouse events.Could any one help?Its running, I just want the div to follow the screen (because, the timer is working as supposed)Thanks for any comments
  19. well,I want the timer that is already on the page to follow the mouse
  20. Hello all,I'd a code, its about timer, it works fine, I just want to make it follow the mouse when I enter the page?Any helpThanks in advanceThe code is: <html><head><link rel="stylesheet" type="text/css" href="ex1.css"/><style type="text/css">div { background-color: #ccffff; size: 50pt }</style><script type="text/javascript">var second=0;var min=1;var hour=1;function start(){ window.setInterval("updatesec()",1000);}function updatesec(){ second++; if(second == 60 ) { second= -1; updatemin(); } seconds.innerText=second;}function updatemin()
  21. Hello all,I'd win xp home, so I don't have the IIS installed on it, so I installed wamp.Can I configure wamp to run asp pages?Thanks in advance
  • Create New...