8,966 Posted Topics

Member Avatar for sonalchavda

You have to use a Javascript (or jQuery) AJAX to call a PHP script to perform a MySQL insert.

Member Avatar for mmcdonald
0
439
Member Avatar for ehpratah
Member Avatar for lester2020
Member Avatar for soomro_moon
Member Avatar for Shiksha
Member Avatar for michael.sullivan.1422

> What i need this to do is delete what is inside the div eliment already before it writes the the div again. What is the before and after situation?

Member Avatar for michael.sullivan.1422
0
162
Member Avatar for zebnoon1

> Trying to get property of non-object in C:\wamp\www\db\viewdb.php on line 31 That means that `$result` is `false` because your query failed.

Member Avatar for zebnoon
0
4K
Member Avatar for myfit

Do you mean something like [this](http://www.jqueryscript.net/menu/Bootstrap-Style-Vertical-Accordion-Menu-with-jQuery-CSS3-bs-leftnavi.html)? It's a vertical accordion menu. Lots of stuff to find about them.

Member Avatar for myfit
0
172
Member Avatar for ahmedsa

> give me error the process cannot access the file it using by another process file Are you perhaps viewing the folder your file is in with the Windows Explorer?

Member Avatar for ahmedsa
0
251
Member Avatar for mattster
Member Avatar for vegaseat
2
198
Member Avatar for jeong.minu
Member Avatar for pritaeas

I want to design a fluid two-column form with BootStrap. What is the best way to tackle this? Do I start with a fluid container and two columns, and then fit a vertical form in each of them? Or is there a better alternative?

Member Avatar for pritaeas
0
1K
Member Avatar for rchawdhari

You can just reference the databases in your query. SELECT * FROM database1.table1 UNION SELECT * FROM database2.table1

Member Avatar for rchawdhari
0
217
Member Avatar for Noor saien
Member Avatar for Dani

> does it make more sense to use INSERT and let the MySQL error out as opposed to using INSERT IGNORE? I've used this once in the past on a separate DB, so I had the option to turn error logging off. Is hard to time, but log writes are …

Member Avatar for pritaeas
0
431
Member Avatar for vani krishnan
Member Avatar for silvercats

Agreed. Some prefer the first to have more visible lines within a single screen. Code styles are like religion, they'll trigger holy wars.

Member Avatar for samson.dadson.3_1
0
507
Member Avatar for happygeek
Member Avatar for runicajame
Member Avatar for jean_5
Member Avatar for pritaeas
0
49
Member Avatar for verzipkhan
Member Avatar for MasterHacker110

It's not as simple as flicking a switch. Even in Delphi 7 there were component packs you could use, with theming. If you are not using anything like that now, it's not easily replaced.

Member Avatar for Glenn9999
0
657
Member Avatar for pritaeas

I have the following method: [ClaimsPrincipalPermission(SecurityAction.Demand, Resource = "Order", Operation = "Place")] public string PlaceNewOrder() { } When the `AuthorizationContext.Principal` does not have the required `Claims`, a [SecurityException](http://msdn.microsoft.com/en-us/library/system.security.securityexception_properties(v=vs.110).aspx) is thrown (as expected). Unfortunately, all the properties of this exception (such as `Action` or `Demanded`) are `null`. Is there a way …

Member Avatar for pritaeas
0
203
Member Avatar for Myronz
Member Avatar for danielpeterson
0
394
Member Avatar for pritaeas

I just submitted a thread, and after clicking submit I got to a blank page. Fortunately, the thread had been submitted correctly. Using Opera. -- This one submitted as usual.

Member Avatar for Dani
0
151
Member Avatar for David_49
Member Avatar for Odyssey2001
Member Avatar for bradly.spicer

> Cannot pass parameter 4 by reference It expects a variable, so you cannot pass the string `'breakfast'` directly. So, either put it in the query (as it's not really a parameter), or put it in a variable.

Member Avatar for bradly.spicer
0
132
Member Avatar for surprino

$returnedDate = getDate(1); echo $returnedDate['date']; Not even sure why you are returning an array, since you are querying just a single value.

Member Avatar for pritaeas
0
195
Member Avatar for vizz
Member Avatar for Mike Askew
Member Avatar for Mike Askew
0
341
Member Avatar for minitauros

> It feels pretty inefficient to me to take apart these processes and let my Javascript execute an AJAX request to retrieve the settings That's the normal flow of things. RequireJS is used to load Javascript modules. There's no way to include PHP on the client-side, or to let Javascript …

Member Avatar for minitauros
0
727
Member Avatar for chalobe.lefa

Reverse engineering is illegal in most cases, if that's what you are referring to.

Member Avatar for Tcll
0
282
Member Avatar for problemsolver
Member Avatar for Yamuna_1

> This code is working in my local but it's not working in hosting server. Do you perhaps have to whitelist the server you are sending from?

Member Avatar for mtyide
0
194
Member Avatar for vuyiswamb

Are you using different browsers to test this? Because if you login as both users in a different tab in the same browser then it is recognized as the same session.

Member Avatar for mtyide
0
131
Member Avatar for Violet_82
Member Avatar for mtyide
0
3K
Member Avatar for Violet_82

> Am I heading in the completely wrong direction? If both pages share code, IMO the best option would be to create a class that does the actual work. You can then use that class in both pages. An other option would be to create a base page (parent page …

Member Avatar for Violet_82
0
2K
Member Avatar for HelenLF
Member Avatar for coolseancool
Member Avatar for razar63

You're the "and 1 other", because the first three are shown in alphabetical order.

Member Avatar for matrixdevuk
0
397
Member Avatar for Anon19950393

> Topics I have got are DoS, BruteForce, Viruses and others, Phishing, Hacker At Work Please use the right phrase then, use "Cracking". [Hacking](http://www.catb.org/jargon/html/H/hacker.html) is not the term for breaking stuff, the media turned it's real meaning.

Member Avatar for vegaseat
0
393
Member Avatar for RetargetingBase
Member Avatar for Lorele
Member Avatar for kidkardel

Shouldn't `ACTIVE` be surrounded by single quotes? Another issue might be the lack of a space before the `WHERE`

Member Avatar for vijay.soni
0
123
Member Avatar for fheppell

> However the file is not correctly downloading as an image Can you confirm that the size of `$data` matches the file size of the original image? I think it also contains header information of the response. What exactly are you writing to the file? There's no `fwrite` in the …

Member Avatar for Isaac_4
0
291
Member Avatar for mike_2000_17
Member Avatar for joshua_8

You should really explain what you are trying to do, and what specifically isn't working. Dumping code won't get you any help.

Member Avatar for wherrelz
0
279
Member Avatar for Bensirpent07

> If there is anything you see that you think I should change or shorten please let me know. In your HTML, remove the `<span style="">` and put the CSS where it belongs, in the CSS file. Uses `class` and or `id`. In some cases the span isn't needed at …

Member Avatar for pritaeas
0
593
Member Avatar for Santanu.Das

Use the flag icon to the top right of your post to get a moderator's attention. Just state what you want done with the post. Note that deletion requests will only be honoured if it's a duplicate or it violates our rules. You can edit your post for 30 minutes, …

Member Avatar for Santanu.Das
0
181

The End.