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 strongm 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: iffoiffy
  • Order by date
  1. iffoiffy

    dynamically geting text box value

    Removespaces seems to be working fine, it does take the spaces out. ************** function Removespaces(instring) { x=instring.value prev =0 returnstring = "" for (i=0; i< x.length; i++) { if (x.charAt(i) != " " ) { returnstring += x.substring(++prev,i) } else {...
  2. iffoiffy

    dynamically geting text box value

    do you see anything wrong with the following statement document.forms['priceupdater'].elements['retailprice' + i].value = Removespaces(document.forms['priceupdater'].elements['retailprice' + i]); when I add this statment on top wierd things start to happen like, alert will get into infinite...
  3. iffoiffy

    dynamically geting text box value

    thanks a lot for your replies. if my if statement turnout to be true I want to come out from the javascript function if not then I submit the form. I am doing the following it seems to be working , but is this the right way? ************************ for (i=1; i <= numberofprod; i++) {...
  4. iffoiffy

    dynamically geting text box value

    Hi, On my form I have suppose 10 text boxes with names retailprice1 retailprice2 . . . retailprice10 In my javascript function I want to dynamically get the values of those text boxes. I am trying to do something like following but I know it is not right. i will appreciate your help for...
  5. iffoiffy

    How come float types takes string

    Hi, I have type float for retail price. Follwing sql seems correct $sqlstring= "update products set brand = '$brand' , brand_id = '$brand_id' , model = '$model' , description = '$description' , retail_price = $retail_price where product_id ='$prod_id'"; But I noticed even if...
  6. iffoiffy

    reloading the page

    thanks a lot, it works
  7. iffoiffy

    reloading the page

    Hi I was wondering is possible to write a code that reloads the page every 10 seconds. Thanks
  8. iffoiffy

    new to making database backup

    just one question if the sql file is small then you can if you want open in note pad and actually see, but if it really big suppose 1 million records, the is there any way if you want you can open it?
  9. iffoiffy

    new to making database backup

    thanks a lot for your replies
  10. iffoiffy

    why use $_GET, $_POST

    thanks for everybody's input, you are right I think one should just use $_POST and $_GET straight with out assigning their values to variables first...
  11. iffoiffy

    why use $_GET, $_POST

    when you say "I see in many code examples that are posted here that people assign local singleton variables from the superglobal arrays $_POST or $_GET. IMO that makes the code convoluted and also uses extra memory." You mean doing something like this $name= $_POST['name']; is not...
  12. iffoiffy

    why use $_GET, $_POST

    thanks for your reply, the compnay were I am hosting seems quite experienced, i don't know why they would do something like that. I will still use the _GET , or _POST, who knows they may change their setting in future and my code will quit wotrking.
  13. iffoiffy

    why use $_GET, $_POST

    Hi, I noticed when you submit a form or go to a page through link<a>, variables in the link or in the form go to the other page and you can access them with out having to first do $_GET , or $_POST, So why do we first do either _GET , or _POST Thanks
  14. iffoiffy

    new to making database backup

    thanks, so I guess you can not make a back up of whole database in one shot, you have to go table by table. So I guess suppose I wipe out my whole database. first I will create a database manually, then run the files for each table to put tables back, right? thanks
  15. iffoiffy

    Cancelling Reload

    I don't how to take care of this problem. I post form with variables form Page A to B , then I go from page B to C. But then using browser back button when I go back to page B, page B expires. I don't know how people take care of this problem.. Thanks
  16. iffoiffy

    page expires

    I don't how to take care of this problem. I post form with variables form Page A to B , then I go from page B to C. But then using browser back button when I go back to page B, page B expires. I don't know how people take care of this problem.. Thanks
  17. iffoiffy

    Cancelling Reload

    Hi, In PHP is it possible that when you hit browser's back button , it does not reload the page but just sends the previous cached page ? Thanks
  18. iffoiffy

    new to making database backup

    Hi, I have my website on a hosting compnay server. They are using phpmyadmin for MYSQL. I need to make a back of my database. I was told to use the option export, but I really don't understand it. When I click on "Export" many options I leave the default setting enter the file name and click...
  19. iffoiffy

    trying to put NULL

    Hi, When I pick the option "allowed null" while creating a table field, and If that field does not have a value i see NULL written in that field when i browse the table using phpadmin, But when I update the table doing followig update accessories set field_A = null I don't see "NULL"...
  20. iffoiffy

    how to expire the session variable

    Thanks for your reply, unset($_SESSION['wholeseller_grade']) ; if ($_SESSION['wholeseller_grade']) session_destroy(); this works..thanks

Part and Inventory Search

Back
Top