Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: miroiti
  • Order by date
  1. miroiti

    send a query string and it's value is textbox input

    hi all, i just wanna to make a href and send a parameter with this href and this parameter is the input of a textbox. here what i did: <a href="1.html?title_edit='window.document.getElementById('ti').value'>Edit</a> but it has a syntax error...i donot know where and why...?
  2. miroiti

    delete from database problem!!!!!

    thanks for ur time and effort with me ,but it didn't related to drupal development,it is pure php and javascript
  3. miroiti

    delete from database problem!!!!!

    actually, i develop php under drupal if u heared before ,all what i need to get the current value that i want to delete or edit not the all values in the array as i have in this code. then i'll complete what i wish thanks for ur time
  4. miroiti

    delete from database problem!!!!!

    any ideas there!!!!!!!!!!!!
  5. miroiti

    delete from database problem!!!!!

    yes i have 2 buttons else,edit and add the add i finish and edit has the same idea of the delete
  6. miroiti

    delete from database problem!!!!!

    what u mean with any action beside delete...?
  7. miroiti

    delete from database problem!!!!!

    i get what u said but i still cannot accomplish this any suggestionsssss!!!!!!!!!!!!!!!!
  8. miroiti

    delete from database problem!!!!!

    but i didnot fill the table with my hand i select from db and fill it automatically the while loop make that so i canot put a diffrent values and names for the hidden field while ($links = mysql_fetch_array($queryResult)) { echo'<tr><td><input type="textbox" name="ti"...
  9. miroiti

    delete from database problem!!!!!

    :D:D i make the primarykey of table is the "title" but the problem is that the delete value have the whole array of the all titles that i have in the table so when i tried to delete it deletes one by one from the last record in the array....
  10. miroiti

    delete from database problem!!!!!

    thanks for ur guidlines but what u told me to do doesnot work as i wanted,,i wanna delete the record what i pressed to delete but this way i tried before it deleted the last record in db ,doesnot recognize which row i select to delete.. hope u get my problem thanks in ur advance
  11. miroiti

    delete from database problem!!!!!

    hi all i was trying to delete a record from a data base based on the value of hidden filed i made.but this is not performed in a proper way....so how can i do this here is what i get!!! <? $query = "SELECT title, url FROM managelinks"; $queryResult = mysql_query($query); "<div...
  12. miroiti

    add in database

    the problem is that i have 2 forms and i want to submit to a certain form so i try to go on in this way ...so any other suggesion to solve that
  13. miroiti

    add in database

    but when i make the submit button i need it submit to the same page so i write function add(t) { var myform=document.createElement("form"); document.myform.action ="managelinks.module"; .......//the remaing of the previous code ...... } i have an error in this line...
  14. miroiti

    add in database

    @Diancecht: i wana try to reload page to know the value that exist in 2 textboxes and make the insertion with this values in db. @vicvirk: i used to use php
  15. miroiti

    add in database

    hi all, i've 2 text boxes and save button and i wanna when i click save button take the values of 2 textboxes then insert in db, i know that js is client side and i cannot connect to db with ,so i try to make a hidden field with 2 textboxes and try when i click submit button i'll reload to the...
  16. miroiti

    delete from database

    iam a beginner in javascript and need some help, i want when user press delete button delete it from interface also delete from databse i successed to remove from interface but i canot remove it from data base becouse it is server side and javascript is client side,.. plus i have to detect...
  17. miroiti

    on change combo box

    hi all, iam just a begineer in java script,and i tried my program that load data from a database in combo box,my table is managelinks that contain 2 fields title and url ,the title column is loaded in combo box and i tried when the user changes the value of this combo box i select from database...

Part and Inventory Search

Back
Top