8,966 Posted Topics

Member Avatar for madhu123456789

What kind of users are you talking about? Not MySQL users I assume. Can you provide an example of what you want to achieve?

Member Avatar for pritaeas
0
94
Member Avatar for UtaChan
Member Avatar for ak47carbon

SELECT count(*) AS count, topic FROM comments GROUP BY topic ORDER BY count DESC LIMIT 1

Member Avatar for pritaeas
0
86
Member Avatar for johnbo100

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).

Member Avatar for pritaeas
0
175
Member Avatar for veledrom
Member Avatar for Djmann1013
Member Avatar for pritaeas
0
361
Member Avatar for divyakrishnan
Member Avatar for asaretitilope
0
245
Member Avatar for newbie1234

http://roshanbh.com.np/2008/03/url-rewriting-examples-htaccess.html See example #4.

Member Avatar for IIM
0
159
Member Avatar for scaiferw

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.

Member Avatar for scaiferw
0
234
Member Avatar for jovillanuev
Member Avatar for manaila

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.

Member Avatar for pritaeas
0
423
Member Avatar for sarathsshanker

I know there are generators, but am not too familiar with Oracle. Perhaps post a question in the Oracle forums. People there should know.

Member Avatar for debasisdas
0
84
Member Avatar for kaysarchw
Member Avatar for Roelof Wobben

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.

Member Avatar for smith warnes
1
93
Member Avatar for sania khan
Member Avatar for pritaeas
0
78
Member Avatar for LastMitch
Member Avatar for LastMitch
0
447
Member Avatar for javacle

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.

Member Avatar for pritaeas
0
75
Member Avatar for calvinmicklefin

> 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 …

Member Avatar for calvinmicklefin
0
185
Member Avatar for gunjan.amit
Member Avatar for wildplace
Member Avatar for wildplace
0
115
Member Avatar for cscheck

> 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.

Member Avatar for cscheck
0
2K
Member Avatar for spowel4

Did you define `$errorFile` as a class variable ? class MySql { private $errorFile;

Member Avatar for spowel4
0
191
Member Avatar for raminr63

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`) )

Member Avatar for pritaeas
0
294
Member Avatar for chunkbar

Here's a simple Javascript function: function confirmDelete() { return confirm('Remove this item?'); } You can use it on your button like this: onclick='confirmDelete()'

Member Avatar for chunkbar
0
328
Member Avatar for akashsinha123
Member Avatar for SolidSora
Member Avatar for ganges

This depends on your table structure and data. Without it, it's impossible to make a statement about it.

Member Avatar for pritaeas
0
189
Member Avatar for israillaky
Member Avatar for titansrealm
Member Avatar for titansrealm
0
186
Member Avatar for Kniggles

You may want to start with a single image, and onclick replace it with the animated one.

Member Avatar for Kniggles
0
209
Member Avatar for extjac
Member Avatar for djuran89

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/>'; …

Member Avatar for svfox2000
0
246
Member Avatar for olegb

Nothing you can think of is fail proof. Even if you could get the mac address, it is easily spoofed.

Member Avatar for pritaeas
0
256
Member Avatar for Mve83

If you generate this select box in code, then just add the `selected` attribute to the values from the database.

Member Avatar for pritaeas
0
188
Member Avatar for CriticalError
Member Avatar for CriticalError
0
178
Member Avatar for md.farhad
Member Avatar for M.Waqas Aslam

[MSDN entry](http://msdn.microsoft.com/en-us/library/aa977092(v=vs.71).aspx) on the subject.

Member Avatar for pritaeas
0
43
Member Avatar for davesmith437

Can you show a sample of the data the query is returning? Perhaps that will clear it up.

Member Avatar for pritaeas
0
806
Member Avatar for DanErik

Here's another option: http://mel.melaxis.com/devblog/2005/08/06/localizing-php-web-sites-using-gettext/

Member Avatar for pritaeas
0
177
Member Avatar for titosd

http://www.developertutorials.com/tutorials/php/create-a-facebook-application-with-php-8-01-05-957/

Member Avatar for pritaeas
0
51
Member Avatar for <M/>

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.

Member Avatar for pritaeas
0
741
Member Avatar for Danny159
Member Avatar for veedeoo
0
181
Member Avatar for Mike Askew

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).

Member Avatar for Dani
0
247
Member Avatar for arcticM

Are you looking for something like [this](http://dev.sencha.com/deploy/ext-4.0.7-gpl/examples/restful/restful.html)?

Member Avatar for arcticM
0
222
Member Avatar for corne.henning.12

> $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.

Member Avatar for captivatewebs
0
398
Member Avatar for ramya_nd

Something like this: $subject = '9787897878'; $result = preg_replace('/(\d{3})(\d{3})(\d*)/i', '\1-\2-\3', $subject); echo $result;

Member Avatar for ramya_nd
0
126
Member Avatar for amy2389

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.

Member Avatar for pritaeas
0
364
Member Avatar for diafol

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 }

Member Avatar for diafol
0
80
Member Avatar for Danny159

[This](http://econym.org.uk/gmap/example_map10.htm) is the simplest example I could find.

Member Avatar for pritaeas
0
303
Member Avatar for trektrak

Usually, a phone's internal settings can be accessed by using it's developer SDK. Which one are you using?

Member Avatar for trektrak
0
262

The End.