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 MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by miroiti

  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

Part and Inventory Search

Back
Top