Forum Moderators: coopster
Here's the code snippet
"SELECT * FROM product WHERE partno='%s'";
Could someone tell me what '%s' means in this case.
I understand % is the wildcard character which would mean I get results like 45s, flowers 1.3343445s ect.
But the actual results this query is actually giving bear no resemblance to that idea. Is 's' a special character under these conditions?
Still very much learning this stuff!
%s is a place holder for a string that will be inserted into the query.
There are others too, check out the manual.
[uk2.php.net...]