8,966 Posted Topics

Member Avatar for lm111
Member Avatar for adebayo.sas
Member Avatar for husna_norddin

Reposted [here](http://www.daniweb.com/software-development/java/threads/469072/cgpa). Thread closed.

Member Avatar for pritaeas
0
98
Member Avatar for Gaetane

> How do I resolve method conflicts in traits? Is it possible to achieve overlapping trait "inheritance"? If so, what is the "right" way to do this? > No having to edit classes and traits on the fly when I do something "adventurous" and discover I have inadvertently created a …

Member Avatar for Gaetane
2
2K
Member Avatar for Mike Askew

> we cant OAuth, correct? You can, [as documented here](http://wiki.oauth.net/w/page/27249271/OAuth%202%20for%20Native%20Apps). No straightforward solutions though.

Member Avatar for Dani
1
638
Member Avatar for mrhankey
Member Avatar for mrhankey
0
188
Member Avatar for GeeksPerHr.com
Member Avatar for Gà_1

If you step through the code with the debugger, where does it break? 201 is a range-check error IIRC, so probably an index goes out of range.

Member Avatar for pritaeas
0
155
Member Avatar for diafol

I like the introduction [here](http://www.sitepoint.com/using-traits-in-php-5-4/) but I'm afraid traits will most likely be used like global functions. Most applications I've seen so far are dubious, more play than proper design. Traits come near multiple inheritance, and there's good reason most languages do not support it. It gets messy quickly. Personally …

Member Avatar for diafol
2
720
Member Avatar for cmps
Member Avatar for pritaeas
0
157
Member Avatar for pritaeas

I have multiple listviews on a form (WinForms). List items can be dragged to other listviews. Is there a way to cancel a single item within the dragged items list? The target listview determines whether or not a single item can be dropped there. I'd prefer a solution that will …

Member Avatar for pritaeas
0
264
Member Avatar for stanley87

If the graph is used for commercial use, the yes, you'll have to buy. [pChart](http://pchart.sourceforge.net/index.php) is another option.

Member Avatar for Lilantha
0
424
Member Avatar for GilbertB

SELECT * FROM YourTable t1 LEFT JOIN YourTable t2 ON t1.Street = t2.Street AND t1.House = t2.House WHERE ID_Number IN ('53290M', '52467M', '18536M')

Member Avatar for GilbertB
0
156
Member Avatar for sganandhsg

According to [this](http://log4net.sourcearchive.com/documentation/1.2.10plus-pdfsg/classlog4net_1_1Appender_1_1RollingFileAppender.html), you should set `RollingMode.Composite`

Member Avatar for pritaeas
0
115
Member Avatar for EasyO

> I use a lot of <center> and <font> tags which I understand you don't use with HTML5. Even then that should've been done with CSS. ;)

Member Avatar for pritaeas
0
205
Member Avatar for gdamalena
Member Avatar for kanoy83
Member Avatar for OsaMasw
0
217
Member Avatar for sk8ergirl

> I was wondering how creating view can be helpful - It can simplify the query you're using in code (hiding data complexity). - You can use them to build work-arounds to specific problems. - Restrict access to data.

Member Avatar for pritaeas
0
85
Member Avatar for tony75
Member Avatar for dean.ong.14
Member Avatar for griselndria
Member Avatar for nadiam

Actually, you can do this in a single query: INSERT INTO asset (name, house, vehicle, current, savings, kwsp, haji, asb, stock, property, others, total) VALUES ('$name', '$ahouse', '$avehicle', '$acurrent', '$asaving', '$akwsp', '$ahaji', '$aasb', '$astock', '$aproperty', '$aothers', '$total') ON DUPLICATE KEY UPDATE house = '$ahouse', vehicle = '$avehicle', current = '$acurrent', …

Member Avatar for diafol
0
11K
Member Avatar for sk8ergirl
Member Avatar for mmcdonald

If instead of `load` you use `ajax` then you can specify `cache:false` and a number will be added automatically.

Member Avatar for mmcdonald
0
188
Member Avatar for within24

Just view the source of [this page](http://calebjacob.com/tooltipster/#demos).

Member Avatar for iamthwee
0
92
Member Avatar for RLS0812

What does the following do? $x1 = preg_replace('/[^A-Za-z0-9]/', "", $_POST['name'] ); $x2 = preg_replace('/[^A-Za-z0-9]/', "", $_POST['age'] ); echo "Welcome " . $x1 . "<br />"; echo "You are " . $x2 . " years old."; Looks like you missed the enclosing characters, slashes in this case.

Member Avatar for RLS0812
0
234
Member Avatar for barry.gold.963
Member Avatar for Simon180

My Oracle knowledge is low, but from the error message it looks like `&1._role` is causing the issue.

Member Avatar for pritaeas
0
992
Member Avatar for diafol

I don't see that on IE11, but I do on Opera. The editor shows a tab size of 4, but the output shows 8.

Member Avatar for Dani
0
243
Member Avatar for sigvewinter

Can you explain the steps you took for this example? Perhaps you missed something.

Member Avatar for pritaeas
0
91
Member Avatar for Abdul Qayyum_1

It is possible that the rest is loaded dynamically, which is something cUrl cannot get.

Member Avatar for pritaeas
0
371
Member Avatar for gkumaravel
Member Avatar for MaddTechwf

Is [this](https://confluence.atlassian.com/display/BITBUCKET/Publishing+a+Website+on+Bitbucket) what you are looking for?

Member Avatar for pritaeas
0
197
Member Avatar for broj1
Member Avatar for venkat9090
Member Avatar for tushar890
Member Avatar for sebastianedu
0
69
Member Avatar for bodylove121

Your `keywords like ...` should come BEFORE `limit 0,30`. That's why the query fails.

Member Avatar for pardeepkk
0
315
Member Avatar for davy_yg

> failed to open dir Line 17 is correct with a single `=`. I think that the `$folder` path is incorrect. I suggest you echo it's contents and find out.

Member Avatar for davy_yg
0
210
Member Avatar for jaejoong

Hard to say. I suggest you debug the code and find out on what line exactly the exception occurs.

Member Avatar for jaejoong
0
163
Member Avatar for Lethugs
Member Avatar for NardCake
Member Avatar for NardCake
0
622
Member Avatar for aa1xxbb2zzzz
Member Avatar for urbanthistleuk
Member Avatar for Nazirah_1
Member Avatar for davidjennings

For what reason are you using `return $this;` in your methods? Are you going to use method chaining? What is supposed to be the difference between `query` and `execute` ?

Member Avatar for diafol
0
243
Member Avatar for justin22

SELECT * FROM `user` LEFT JOIN `address` ON `address`.`user_id` = `user`.`user_id`

Member Avatar for pritaeas
0
138
Member Avatar for Kewne

Shouldn't that be `mysql_fetch_object` (without the 's')? Can you show some more code if that is not the problem?

Member Avatar for pritaeas
0
1K
Member Avatar for Iikeloa

There are already several good solutions in the PHP forum. I suggest you do a search.

Member Avatar for pritaeas
0
167
Member Avatar for daniel.conlinjr.1

You want to put parts of a class in a separate file? Yes, that's possible (using `include`), but I don't recommend it (bad design). Better yet, give a code example explaining what part you want to move to a separate file.

Member Avatar for diafol
0
361
Member Avatar for valentina24

The End.