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.
Now, if I quote the string in the form as this:
<option value='WHERE Status="inactive"'>Inactive</option>
phpinfo() shows (which is how the hardcoded string appears):
_POST["SelectType"] WHERE Status=\"inactive\"
But the mysql_query statement is having an...
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
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.
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="prodtab.php" method="post">
Sort Status: <br>
<select name="SelectType">
<option value="WHERE...
In the last syntax that you've given:
$sql = "INSERT INTO userdb1 (fname,lname) VALUES ('" . $_POST['fname'] . "', '" . $_POST['lname'] . "')";
If the field of the input is a different datatype would there needs to be any changes or just specifying the type in the...
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.
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...
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>...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.