I'd like to ask you how to convert a string into a decimal before update a table or insert data into table, after a user inserts a row, or update a row from a dataGridView.
In my case, I want the column of price to be decimal, I do it as following, but it is not work, please help, thanks...
Hi;
I am trying to implement a search engin, and i want the most relevant results that must sit on top of the other ones. but my code does not always bring out right result, could anyone help, thanks
create table keyword_relevance
( id tinyint not null primary key auto_increment
...
Hi;
I got a problem to output resize image after i check the type of image.
Could anyone help me, thanks.
The test_1.php has not problem to output image, but the test_2.php could not output image.
test_1.php
<?php
$image=$_GET['image'];
// The file
$filename = '../images/thread_images/'...
Hi;
I am implementing a search engin by php, and i alway to have a error massage when i validate my page by the W3 Validator, error massage as following, could any one help, thanks.
end tag for "div" omitted, but OMITTAG NO was specifiedQuery was empty
You may have neglected to close an...
Hi;
My problem is i could not print out value after i inserted echo "<div class=\"hints\">; and echo "</div>"; please see the highline .
I am implementing an auto suggestiion for search engin.
response.php
<?php
$q=$_GET["q"];
include("../condatabase.php");
$sql="SELECT content FROM...
Hi;
How could i get rid off the repeat words from an array? Thanks
eg;
$a[]="the , think , this , that , the , their , that , the , the , those";
i just want the array reduce to "the, think, that,those".
Hi;
I am implementing a Ajax auto suggestion search from database. I find an example from http://www.roscripts.com/Ajax_autosuggest_autocomplete_from_database-154.html. I have not problem with the php part about search from database, but i got a problem from the search from, i added a listerner...
Hi;
i am writting a form to let people submit
their information and upload an image.
My idea is if the user fill all the filed(name and age of the field) and upload an image, then i will submit the form.
if the user does not fill any of the field of the name and age, or do not upload an...
Hi;
I am writing a submit form to let people to submit their information and upload a picture.
The problem for me is after i upload a picture, how i can let it display on the submit form,and also keep the values i just type for the fname and the age ?
Could anyone give me some idea, please...
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.