Member Avatar
i've got code like this

naglibog.CommandText = "UPDATE ptransaction " & _
" SET Quantityt = " & mm & _
", Partial_totalt='" & jj & "'" & _
" WHERE Product_Codet =" & intProduct11_Code & "'" & "'AND soldtime = '" & stime & "'"


naglibog.ExecuteNonQuery()

libogsya.CommandText = "UPDATE … Topic by John_147 in Software Development
Member Avatar
John_147 Joined the Community
Member Avatar
tom_21 Joined the Community
Member Avatar
Sponsored Reverend Jim 1,506 Replied To a Post in Trump
Topic by Reverend Jim in Community Center
"The Trump presidency is the first openly and unabashedly spectacle-driven administration in U.S. history. It depends on destroying the public’s ability to see the bigger picture and relies on substituting bluster for substance and glitz for reality. It becomes that shiny object we can’t stop watching. The longer we are … Reply by Reverend Jim
Member Avatar
Sponsored diafol 3,317 Replied To a Post in New moderator alert!
Topic by happygeek in Community Center
Thanks Davey - am so very busy with my new ventures that I would do DW a big disservice were I to offer time that I could never afford. I will continue to support / be a PITA as long as I can. Things may change in the future, and … Reply by diafol
Member Avatar
diafol 3,317 Gave Reputation to Traevel in PHP Notice: Undefined index: last_id in
Topic by janicemurby in Web Development
php
Using my magical powers I've tried to telepathically deduce the error message you forgot to post and I think if you remove the `'` around `'".$_SESSION['last_id']."'` it might solve your issue. Since your `user_id` column is defined as integer and those single quotes make it a string.

Also, although I … Reply by Traevel
Member Avatar
Sponsored Reverend Jim 1,506 Replied To a Post in Need suggestions for gaming desktop
Topic by Reverend Jim in Hardware and Software
>There seems to be a bit of anti-Dell rhetoric in here

Maybe because of [this](https://www.daniweb.com/hardware-and-software/hardware/threads/489585/warning-dell-laptops-may-cause-insanity) and [this](https://www.daniweb.com/hardware-and-software/threads/503273/dell-hell-part-2).


rhetoric; The art of effective or persuasive speaking or writing, especially the use of figures of speech and other compositional techniques.

In my case, at least, res ipsa loquitur. You can only get … Reply by Reverend Jim
Member Avatar
Sponsored diafol 3,317 Replied To a Post in declaring a json string
Topic by Violet_82 in Web Development
AFAIK, strictly, you are correct with regard to the enclosing {}. However, you are passing a "json string" not the json itself. So decoding the string should be straightforward, with or without the enclosing {}.

If you are creating an object, it will pretty much need a "label" for the … Reply by diafol
Member Avatar
Jon Leo Joined the Community
Member Avatar
Joe_25 Joined the Community
Member Avatar
YOGESH_16 Joined the Community
Member Avatar
Sponsored Dani 1,558 Replied To a Post in Need suggestions for gaming desktop
Topic by Reverend Jim in Hardware and Software
I was actually going to suggest Alienware as I used to hear good things about it before it was acquired by Dell, and I believe it maintained the majority of its fanbase post-acquisition. From what I understand, it's managed as a separate entity.

I'm very much not a fan of … Reply by Dani
Member Avatar
Sponsored pty 126 Replied To a Post in Need suggestions for gaming desktop
Topic by Reverend Jim in Hardware and Software
I'd try somewhere like Microcenter, if you look at their clearance/open box section on the website there are some deals to be had. I don't know what your budget is, but [this](http://www.microcenter.com/product/455377/XPS_8900_Desktop_Computer?ob=1) for $791 looks like it'll fit the bill. You'd have to see what's available in your local store … Reply by pty
Member Avatar
Шевченко Joined the Community
Member Avatar
Sponsored Reverend Jim 1,506 Replied To a Post in Need suggestions for gaming desktop
Topic by Reverend Jim in Hardware and Software
>I have an MSI gaming laptop...

He currently has two laptops. The small one is a Dell. He uses that one for skype, writing, internet, etc. It's the newer one and is falling apart. The hinges are cracked and the power connector is starting to fail. The older laptop is … Reply by Reverend Jim
Member Avatar
dharmesh_2 Joined the Community
Member Avatar
Topic by janicemurby in Web Development
php
Hi Janice,

the error is given by this `$_SESSION['last_id']`, because is not set. Before running the query you can make sure the index is set by running:

if(TRUE === array_key_exists('last_id', $_SESSION))
{
# execute query
} Reply by cereal
Member Avatar
Topic by janicemurby in Web Development
php
thankyou thats solved it much appreciated Reply by janicemurby
Member Avatar
Sponsored Traevel 177 Replied To a Post in Need suggestions for gaming desktop
Topic by Reverend Jim in Hardware and Software
> I much prefer being in a situation where I can just send it back to the vendor when anything doesn't work.

Hear, hear. Whenever I tell someone I don't want to build my own, they always reply: "but it's not hard to do".

Depending on the type of games, … Reply by Traevel
Member Avatar
Sponsored Minimalist 80 Replied To a Post in Embed text into clickonce application
Topic by Minimalist in Software Development
Thanks for your thoughts on this and I marked you up a point. I just wonder how large companies are doing this but haven't found anything on the web. I shall keep thinking about it.
Thanks again Reply by Minimalist
Member Avatar
Topic by tin1296 in Software Development
Via using the select query from above (shown below), how would you write an update database command in this format?

rsSearch.Open "SELECT * FROM MyTableName WHERE MyField LIKE " & "'" & Text1.Text & "'", con, adOpenStatic, adLockOptimistic

I've been using rsSearch.Open "UPDATE [TableName] SET [Field2] = " & "'" … Reply by Jonathan_18
Member Avatar
Topic by tin1296 in Software Development
Via using the select query from above (shown below), how would you write an update database command in this format?

rsSearch.Open "SELECT * FROM MyTableName WHERE MyField LIKE " & "'" & Text1.Text & "'", con, adOpenStatic, adLockOptimistic Reply by Jonathan_18
Member Avatar
Jonathan_18 Joined the Community
Member Avatar
Sponsored Dani 1,558 Replied To a Post in Need suggestions for gaming desktop
Topic by Reverend Jim in Hardware and Software
I have an MSI gaming laptop and I'm very happy with it. I'm not a gamer, but I needed a laptop I could use as a desktop replacement with a good video card and large monitor, and that criteria limited me to gaming laptops.

For desktops, I've always gone Dell, … Reply by Dani
Member Avatar
Sponsored Reverend Jim 1,506 Replied To a Post in Need suggestions for gaming desktop
Topic by Reverend Jim in Hardware and Software
I should have added the other thing - while I am capable of swapping a card or a drive, building and configuring a system from scratch is completely beyond my capabilities. There would be too many gotchas "you can't run video card xxx with bus controller yyy, etc).

Buying components … Reply by Reverend Jim
Member Avatar
Sponsored rproffitt 505 Replied To a Post in Need suggestions for gaming desktop
Topic by Reverend Jim in Hardware and Software
Don't frag me here but I think we would overpay for prebuilt gamer PCs. I'll give a nod to https://www.amazon.com/Performance-Desktop-G11CD-DB73-GeForce-processor/dp/B01LZS67LQ/ since it has bleeding edge CPU, DDR4, SSD and the 1080 GPU.

If I was going with a gaming desktop, I build but I did run repair shops for years … Reply by rproffitt
Member Avatar
My son is looking to buy a new gaming system. For reasons I have detailed elsewhere on Daniweb, there is no way in hell we will consider a Dell system. They were great once. They aren't anymore. And their service sucks big time. We would prefer a prebuilt system because … Topic by Reverend Jim in Hardware and Software
Member Avatar
Eba noor Joined the Community
Member Avatar
I recently bought a new Dell XPS 8900 with a 1TB drive and only 8GB of RAM. It was loaded with Windows 7 but came witha Windows 10 disk and license. My intention was to put in an SSD to install Windows 7 then upgrade the original HDD to Windows … Topic by tarael1 in Hardware and Software
Member Avatar
Sponsored Agilemind Replied To a Post in brexit
Topic by Reverend Jim in Community Center

> If we had a directly elected second chamber,

It doesn't matter if the Lords is elected or not it is the power of the tabloids that is the problem. The Commons is elected and is ~2/3 pro-Remain but voted through Article 50 with relatively little faff after the tabloids … Reply by Agilemind