trq
Staff Alumni-
Posts
30,999 -
Joined
-
Last visited
-
Days Won
26
Everything posted by trq
-
$stats in an object. Objects hold data. I'm really not sure it can be explained any simpler.
-
The -> is used to access the properties and methods of an object. In this case, the objects are $db and $stats. $db->Execute() appears to return an object which has been saved into the variable $stats. Where is this code from? This isn't your typical database access code used in PHP. This looks like COM stuff (Windows) and more specifically the JET database engine.
-
Inserting Textbox Values With Special Characters Into Mysql
trq replied to Stoty's topic in PHP Coding Help
mysql_real_escape_string. -
You could create a user to execute this script and have this user locked down so as to only execute this particular script with access to only what it needs to do so.
-
Classes should be flexible. Having them simply store html doesn't really stick to that principle and pretty well misses the point.
- 12 replies
-
Neither methods are resizing the image. All they are doing is adjusting the display width and height via html. What does the end html look like in both cases?
-
The same logic applies to map 1 term to 1 definition. It doesn't matter how many terms there are.
-
Of course it's logical. Does it work? On a simple level yes.
-
In your opinion of course.
-
We are not here to write code for people. You have been provided many answers to your question. Start writing some code and get back to use when you are stuck with a particular issue.
-
There are plenty of tutorials around in regards to searching a database using libraries such as mongoose for node etc. Where exactly are you stuck? OD you have your database of data? I would start there. Once you have the actual data, only then can you look at how to best access it. It shouldn't be difficult tat all once you have the actual data.
-
Are you talking about client side Javascript or server side Javascript? I shouldn't imagine this would be something you would do client side.
-
Have you looked in your extensions directory to see what you already have available?
-
I'm not a Windows or Wamp user, but I'm certain all (excepting PECL) extension are packaged with the Windows PHP packages. All you need to do is uncomment them out in your ini file.
-
How Do I Configure Error Messages To Format Like This?
trq replied to idkwhy's topic in PHP Coding Help
You would need to write a custom handler. -
Is that really your question? Read money_format then number_format and work out what needs to be changed.
-
Sorry?
-
You can't just simply echo an array because (as you stated) it contains more than a single value. You'll either need to loop through its contents, or (simpler), use implode to turn your array into a string so that you can echo it simply.
-
It means it's time to get a new one.
-
How Do I Enable Virtual Directory Support In Code-Igniter
trq replied to RalphLeMouf's topic in Frameworks
Well there is no *virtual* anything directive in a php.ini, so I'm not sure what it would be referring to. -
I would start by getting it to validate.
-
Still not understanding the issue. If you need three drop downs, you need the code for the three drop downs. What's it matter if they are in include files or not?
-
Again, well designed libraries should be flexible enough to allow customizations without modifying the code.
-
That is exactly how you count the elements within an array. Post your actual code if your still having issues.