8,966 Posted Topics

Member Avatar for valentinfr
Member Avatar for AntonyRayan
Member Avatar for westsiderailway

`WEEKDAY` is an SQL function, so if you also have a column with the same name, that might be your issue.

Member Avatar for westsiderailway
0
372
Member Avatar for AmrMohammed

http://stackoverflow.com/questions/193896/whats-a-good-c-decompiler Not addressing any legal issues you're gonna have...

Member Avatar for Suzie999
0
191
Member Avatar for Priti_P
Member Avatar for adebayo.sas
Member Avatar for JerrimePatient
Member Avatar for JerrimePatient
Member Avatar for pritaeas
0
345
Member Avatar for edbr

http://php.net/manual/en/mysqli-result.fetch-array.php `mysqli_fetch_array` returns a row, so you should store that in a variable.

Member Avatar for edbr
0
965
Member Avatar for Nkondola

On line 143 change `$LAST_INSERTED()` to `$LAST_INSERTED` If you change: $result=mysql_query($sql); to: $result = mysql_query($sql) or die(mysql_error()); You get a hint at what's possibly wrong.

Member Avatar for pritaeas
0
148
Member Avatar for JerrimePatient
Member Avatar for JerrimePatient
0
252
Member Avatar for Vivek_13

Invalid syntax. What do you want to happen? <option ' . ($a == $b ? 'selected' : '') . '>asd</option>

Member Avatar for Vivek_13
0
406
Member Avatar for kkermally
Member Avatar for mattyd
Member Avatar for kelleyz

> Not sure why its not working. That's a bit vague. Can you explain what exactly is not working?

Member Avatar for kelleyz
0
427
Member Avatar for J.C. SolvoTerra

I think you'll need to request that from an admin, mods can't either (yet).

Member Avatar for J.C. SolvoTerra
0
352
Member Avatar for Violet_82

You can add `[DataType(DataType.MultilineText)]` just before your property definition, or use: @Html.TextAreaFor(model => model.Message, new { cols = 35, @rows = 3 })

Member Avatar for Violet_82
0
243
Member Avatar for pritaeas

Am currently trying to use the Web API and accept a HTTP POST containing an XML. I was under the impression that this could be automatically deserialized into an object, but I am missing something. public class Item { public int Value { get; set; } } This one works, …

Member Avatar for pritaeas
0
222
Member Avatar for mbarandao

All your sub-queries join campaignRecipts so it might be possible to get your results with a regular join and aggregates. Without some sample data it'll be hard to give a definitive answer.

Member Avatar for mbarandao
0
363
Member Avatar for ravi142
Member Avatar for logicaweb
Member Avatar for AntonyRayan

Copy for MySQL: https://www.daniweb.com/web-development/databases/mysql/threads/457944/read-this-before-posting-a-question Additions always welcome.

Member Avatar for kalxas
0
374
Member Avatar for coder91

Personally I prefer a tool like [Quartz](http://www.quartz-scheduler.net), but you can use a regular timer.

Member Avatar for pritaeas
0
129
Member Avatar for jay.barnes

> I want to create a class that echoes the message resulting from the validation, however, I'm not sure how to get the results from the validator class passed to a "message" class (I'm also trying to keep the 'message' class versatile enough to handle more than just form validation …

Member Avatar for jay.barnes
0
420
Member Avatar for coder91
Member Avatar for coder91
0
639
Member Avatar for Heanre
Member Avatar for ddanbe

Since you are refactoring, why are you passing the rows and cols to your iteration method? If you always iterate over all rows and columns, you can use the matrix internal rows and columns values instead (you passed them to the ctor already).

Member Avatar for ddanbe
0
367
Member Avatar for Kcachilove
Member Avatar for anejose
0
1K
Member Avatar for TobbeK

Am not familiar with `Rss20FeedFormatter` but the link below appears to tackle the same issue you are having. I know that when parsing this as XML, I'd add a namespace definition, but I'm unsure how that would work here. http://www.lerra.net/post/2012/05/09/Reading-non-standard-elements-in-a-SyndicationItem-with-SyndicationFeed.aspx

Member Avatar for TobbeK
0
314
Member Avatar for mattyd

Technically, it's possible. However, both do the same thing. So if you escape your string, the binding might escape the already escaped string again, leading to strange results (more quotes and backslashes than you bargain for).

Member Avatar for mattyd
0
272
Member Avatar for DaveAmour

If you had written your previous posts in the same manner as the one above, you'd have been taken seriously from the start. > when you want to be respected, just respect others Funny you say that...

Member Avatar for diafol
0
1K
Member Avatar for Wojciech_1

It won't. It's in-house software and stays that way. At least that's what was said a while ago.

Member Avatar for Dani
-6
321
Member Avatar for ddanbe

Are you looking to return an instance (`return this;`) or just the int (`return T;`) ?

Member Avatar for DaveAmour
0
304
Member Avatar for Violet_82
Member Avatar for mbarandao

Why do you have two of these? $('LI STRONG').click(function(e) { /* */ }); It's not showing everything because your $('#contents LI:not(:contains(' + s + '))').hide(); is also hiding the li's in your em ol which you want to show.

Member Avatar for mbarandao
0
389
Member Avatar for mgreiner28

if ($foundnum > 25) { // output the filter option here } Although I'm not clear on what you want to put in it (yet).

Member Avatar for mgreiner28
0
333
Member Avatar for Suzie999
Member Avatar for pritaeas
0
278
Member Avatar for phoenix254

`mysqli_query` is a different extension then `mysql_error`. Fix it and then give us the error you get.

Member Avatar for pritaeas
0
179
Member Avatar for Saqoom
Member Avatar for almostbob
0
126
Member Avatar for siralv1

> Can't use mysqli as the current phpmyadmin am using is the older version The MySQLi extension and PhpMyAdmin are unrelated. > i dont know how to use the switch case function switch ($pick) { case 8: // your code when $pick is 8 break; case 4: // your code …

Member Avatar for siralv1
0
202
Member Avatar for erum

This helped me: http://blog.markjohnson.io/exorcising-entity-framework-from-asp-net-identity/ Then add any DB you want.

Member Avatar for erum
0
98
Member Avatar for coder91

As a `string` or an `XmlDocument`. The last one provides easier access to it's contents.

Member Avatar for coder91
0
100
Member Avatar for Wojciech_1

Check the feedback forum, there are more threads on the subject of anonymous voting and why it is the way it is.

Member Avatar for Reverend Jim
-4
337
Member Avatar for coder91

What exactly do you need help with? Do you want a website that does this, or an application, or a service? If you have processed a file, will you delete it? Are you inserting into the database yourself? Do you need to parse the XML too?

Member Avatar for pritaeas
0
127
Member Avatar for RyanKempe

The marketplace was a huge spam magnet. Since the introduction of a donation for access... no more spam (nor posts).

Member Avatar for RyanKempe
0
255
Member Avatar for mattyd

> I need to find an example of how to do this using this method. https://www.daniweb.com/web-development/php/code/462098/mysqli-binding-example > Would I just write one of these statements for each of the pre-existing rows in my table? You'd only need to prepare this statement once, and execute it after you change the bound …

Member Avatar for pritaeas
0
238
Member Avatar for DGULLIVER

CREATE DEFINER = `root`@`localhost` PROCEDURE `SPNEWUG` ( IN `@GroupName` VARCHAR( 255 ) , IN `@HeadOffice` TINYINT( 2 ) , OUT `@UG_ID` INT( 8 ) ) COMMENT 'Add New User Group' NOT DETERMINISTIC NO SQL SQL SECURITY INVOKER BEGIN INSERT INTO tblUserGroup( tblUserGroup.UG_Name, tblUserGroup.UG_GBTF_HO ) VALUES (@GroupName , @HeadOffice); SET @UG_ID …

Member Avatar for pritaeas
0
6K
Member Avatar for RyanKempe
Member Avatar for VenusCrystal

The manual doesn't mention the possibility of nesting templates. Perhaps you can use the output of one template as input for the next, just like any other variable.

Member Avatar for pritaeas
0
180
Member Avatar for Benny Adams

The End.