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 gkittelson 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: *

  1. nanao550

    Can MS Visual C++ be use for coding C for linux?

    Hello, I know that C code for linux needs to be compile on the kernel in which it is to be used on, but can MS Visual C++ environment be use for coding C code for linux? If not, what are some IDE development software that can be use to code C for linux? Thanks.
  2. nanao550

    How to pass string from post form to mysql_query command?

    Now, if I quote the string in the form as this: <option value='WHERE Status=&quot;inactive&quot;'>Inactive</option> phpinfo() shows (which is how the hardcoded string appears): _POST[&quot;SelectType&quot;] WHERE Status=\&quot;inactive\&quot; But the mysql_query statement is having an...
  3. nanao550

    How to pass string from post form to mysql_query command?

    StuartJones, That will not work. I have tried many combination of quoting and single quouting the string but it is not working. Is there some special escape sequence to use when quoting the string? Thanks
  4. nanao550

    How to pass string from post form to mysql_query command?

    Oh, it is not missing. I am trying to pass that in from the post form also. The post form also have other sorting (mysql_query) by other methods. That is why I am trying to pass that in from the post form.
  5. nanao550

    How to pass string from post form to mysql_query command?

    I would like to sort the content of my database using selection box. But it is not working. I have a form with: <Form action=&quot;prodtab.php&quot; method=&quot;post&quot;> Sort Status: <br> <select name=&quot;SelectType&quot;> <option value=&quot;WHERE...
  6. nanao550

    Help, post form insert empty data.

    In the last syntax that you've given: $sql = &quot;INSERT INTO userdb1 (fname,lname) VALUES ('&quot; . $_POST['fname'] . &quot;', '&quot; . $_POST['lname'] . &quot;')&quot;; If the field of the input is a different datatype would there needs to be any changes or just specifying the type in the...
  7. nanao550

    Help, post form insert empty data.

    Wonderful, it is working. Thanks you for your support.
  8. nanao550

    Help, post form insert empty data.

    Now I am getting a parse error: Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in... All I did was copy the line you wrote and paste it in my file and comment out my line.
  9. nanao550

    Help, post form insert empty data.

    Yes, my register_globals = Off in my php.ini file. I will check it again with the $_POST. Thank you
  10. nanao550

    Help, post form insert empty data.

    No, the values are blank: INSERT INTO forsomedb (fname,lname) VALUES ('','')Data inserted successfully.
  11. nanao550

    MySQL installation on PC with 2 nics, bind to wrong nic.

    Hello, I installed mysql3.23.52 on a win32 system with 2 network cards, now mysql is binding to the network that I do not want, how can I change to bind to the other network? I have tried changing the bind statement inthe .ini file, MySQL could not start up. During installation MySQL did not...
  12. nanao550

    Help, post form insert empty data.

    Hello, I am not sure what is wrong but the message from the post is successful but fields in table are empty. Here is a short version of the script: If i hardcode the values in as in the line with //$sql = 'INSERT INTO ...' then the field is not empty. ----myinsert.php---- <HTML>...

Part and Inventory Search

Back
Top