Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About ale

  • Rank
  1. ale

    Advice about XML

    Ok. But why XML is important??? When to use it? Some practic example...
  2. ale

    Advice about XML

    I know it @justsomeguy, but I cannot understand where I should put it, I mean where in HTML, PHP etc. I read about XML on W3Schools, but there is no clearly explanation for example where I can find an xml doc of some page..
  3. ale

    Advice about XML

    Hello guys, Can anybody tell me some practical example of xml??? I'm new with it. I know what is xml, syntax etc. but I am not so clear with using the same.... Thanks...
  4. I think u r right.. Can I do redirect in js??? Actually if I click cancle that return me on the some page???
  5. Oh I have a quotes... That is not a problem
  6. None of the examples above are working. I tried both of them...
  7. Now I do I will try the examples above... Thanks people for helping me or trying to help
  8. Grrrr... I am not good with the AJAX.. I am the beginner yes I have two buttons... One for submmit and one for the cancelation written directly in my js confirmation box... Here is the code: Java Script confirmation box code: <script> function myFunction() { var x; if (confirm("Da li želite da sačuvate promjene?") == true) { x = "You pressed OK!"; } else { x = "You pressed Cancel!"; } document.getElementById("demo").innerHTML = x; } </script> I know that this is a simple js function.. Do I need make some changes here (write an
  9. I already tried that but there is still some mistake... It is not working...
  10. Hi When I am doing the table update I do not see that one article is updated called naziv_artikla. Well, the article is updated in the database when I open my phpmyAdmin, but when I am showing it on the screen, selecting all the articles from the database I do not see the update of naziv_artikla. Is there problem with the hidden field? I removed it from the code, but then is displayed some error (code is not working properly). Can anybody tells me what should I fix??? Thanks This is my code for selecting data from the database. <?php $con=mysqli_connect("localhost","roo
  11. There is no selected database because I have removed it. I have a database called sifrarnik. And I do not understand your reply, because I am not looking for that answer. Well, do I need write an if condition or something in my Java Script code??? I told u, when I click on OK the data is submmited in a database and when I click CANCLE a data is submmited into a database too. I want when I click on CANCLE that nothing is submmited.. That is a point....
  12. Hello guys. I am new here. Well, I have some codes written in php. And I have several forms (insert, update etc.). And I have that confirmation box written in Java Script. The thing is next: when I click on submmit in my insert form the box shows up and when I click on OK the data is submmited in the database, but when I click on CANCLE the data is submmited too and I do not want that. Can anybody helps me please??? THIS IS MI INSERT CODE. <?php $con=mysqli_connect("localhost","root","",""); // Provjeri konekciju if (mysqli_connect_errno()) { echo "Failed to connect to MySQL: "
  • Create New...