8,966 Posted Topics
Re: What kind of users are you talking about? Not MySQL users I assume. Can you provide an example of what you want to achieve? | |
Re: Make a diagram of all parts. It will help you visualize. | |
Re: SELECT count(*) AS count, topic FROM comments GROUP BY topic ORDER BY count DESC LIMIT 1 | |
Re: Determine their age in years and months (calculated columns). If you then divide the months by 12 and round it, you will have 0 or 1 indicating a 6 months span. Then group/order your results by those two columns (year and span). | |
Re: After changing the password, did you `FLUSH PRIVILIGES` ? | |
Re: What's not working ? What version of FF ? Have you tried the latest jQuery ? | |
Re: http://roshanbh.com.np/2008/03/url-rewriting-examples-htaccess.html See example #4. | |
Re: You can refer to the old and new column, please see the [MySQL PDF](http://dev.mysql.com/tech-resources/articles/mysql-triggers.pdf) on the topic. | |
Re: Appears correct. Are you having problems with this? | |
Re: 1 Yes, it's possible. 2 See the example here: http://csoap.sourceforge.net/docs/snapshot/libsoap-doc-api/html/ URL is the location of your Java Webservice, and the method is the function you want to call. | |
Re: I know there are generators, but am not too familiar with Oracle. Perhaps post a question in the Oracle forums. People there should know. | |
Re: Interesting, I have not yet come across one with variable paging. You may be able to fake it with (hidden) links, but I guess that is not what you want. | |
Re: What do you get if you put that value in a `var` without a cast ? | |
![]() | Re: Check out the manual entry for [move_uploaded_file](http://php.net/move_uploaded_file). ![]() |
Re: It depends on your host. Most hosts I know allow remote connection only if you specifically whitelist an IP address. In case of a facebook app I doubt it runs on one specific address. Perhaps a better option would be to create a REST or SOAP API. | |
Re: > I did not include the break as I wanted each successive statement to be evaluated That is not what happens. As soon as the first condition evaluates to true, all code will be executed up to the first break. If you reverse your conditions, it will probably work as … | |
Re: http://php.net/manual/en/language.operators.precedence.php | |
Re: > onClick="SELECT * FROM sw_lic WHERE dept = $_POST['dept_filter']"> `onClick` is a Javascript event (on the client). You cannot put a query there, because that needs PHP code (on the server). Explain what you want to achieve with the dropdown. | |
Re: Did you define `$errorFile` as a class variable ? class MySql { private $errorFile; | |
Re: CREATE TABLE `users` ( `id` bigint(20) unsigned NOT NULL auto_increment, `username` varchar(255) NOT NULL, `password` varchar(255) NOT NULL, `email` varchar(255) NOT NULL, `sid` varchar(255) default NULL, PRIMARY KEY (`id`), UNIQUE KEY `idx_username` USING BTREE (`username`) ) | |
Re: Here's a simple Javascript function: function confirmDelete() { return confirm('Remove this item?'); } You can use it on your button like this: onclick='confirmDelete()' | |
| |
Re: Are the links in your CSS pointing to the correct path? | |
Re: Please share your solution, to help out others. | |
Re: What you pasted is not PHP code. Or is there a PHP file parsing that? | |
Re: You may want to start with a single image, and onclick replace it with the animated one. | |
Re: > "/gops/views/groups//ajax.php", Is the double slash a typo ? | |
Re: Use extra parenthesis in your `if` to separate the parts. What you can also do is this: foreach ($array as $word) { if (strpos($word, $letter1) === false) continue; if (strpos($word, $letter2) === false) continue; if (strpos($word, $letter3) === false) continue; if (strpos($word, $letter4) === false) continue; echo $word . '<br/>'; … | |
Re: Nothing you can think of is fail proof. Even if you could get the mac address, it is easily spoofed. | |
Re: If you generate this select box in code, then just add the `selected` attribute to the values from the database. | |
![]() | Re: What have you tried, and what is your table structure ? ![]() |
Re: Are you sure that mod_rewrite is enabled on your server ? | |
Re: [MSDN entry](http://msdn.microsoft.com/en-us/library/aa977092(v=vs.71).aspx) on the subject. | |
Re: Can you show a sample of the data the query is returning? Perhaps that will clear it up. | |
Re: Here's another option: http://mel.melaxis.com/devblog/2005/08/06/localizing-php-web-sites-using-gettext/ | |
Re: http://www.developertutorials.com/tutorials/php/create-a-facebook-application-with-php-8-01-05-957/ | |
Re: You already outputted the table, so connecting them is not possible. What you should do is calculate before outputting those tables, and then create the new one in a single loop. | |
| |
Re: Put it as your avatar ;) I know the default SO flair is too wide, but since they have an API, build a new one (or perhaps StackApps already provides a smaller one). | |
![]() | Re: Are you looking for something like [this](http://dev.sencha.com/deploy/ext-4.0.7-gpl/examples/restful/restful.html)? ![]() |
Re: > $conf =& JFactory::getConfig(); This assign by reference is a (pre) PHP4 construct. In PHP5 the default assignment is by reference. If you remove the ampersand, your code would still work, but the warning would be gone. | |
Re: Something like this: $subject = '9787897878'; $result = preg_replace('/(\d{3})(\d{3})(\d*)/i', '\1-\2-\3', $subject); echo $result; | |
Re: http://stackoverflow.com/questions/10566200/phpmailer-gmail-from-is-gmail-account Simply put: Google will only allow that if the from address is connected to your gmail account. | |
![]() | Re: You can always do a check like this: if (floor($y) == $y) { // floor() should return a float too // if they are equal, you have a round log result // and you can safely cast it to an int } ![]() |
Re: [This](http://econym.org.uk/gmap/example_map10.htm) is the simplest example I could find. | |
Re: Usually, a phone's internal settings can be accessed by using it's developer SDK. Which one are you using? |
The End.