8,966 Posted Topics
Re: > I will attach the error and code. Please do so. | |
Re: https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/mklink In some cases the following works: I created a new folder with the same name on my HDD, moved the files and created a junction on the SSD. | |
Re: What do you have so far? | |
Re: You should use the form's OnShown event to initialize such things. | |
Re: Yes, it's possible, but then you'll need a lookup table containing those dates | |
Re: You should use the same construct you are using in the other code blocks. `isset($responseCA['key']) ? $responseCA['key'] : ''` | |
Re: Choice of language depends heavily on the area you want to develop in. What are your interests? | |
Re: Since you are using objects, you can turn them into an array with [get_object_vars](https://www.php.net/get_object_vars) | |
Re: Long time since I've done any perl, but according to [the docs](https://metacpan.org/pod/DBI#connect) you don't need the fourth parameter. Fixed that, and the warning message should be gone. | |
Re: You error message tells you that you appear to be using the function `mysql_pconnect` somewhere. This function was removed in PHP 7. If you had an upgrade recently, this may be the reason for the crash. Rewrite your code using `mysqli_connect` instead. | |
Re: Your method `allamerican()` is never called. | |
Re: Welcome to DaniWeb. | |
Re: Try putting the `header()` before the `flush()` | |
Re: > "How do I recognize whether I should use interface or not?" The most common usage of interfaces is when you find you need to create different (unrelated) classes to have similar required functionality. | |
Re: All your inputs have the same ID. `getElementByID()` cannot distinguish between them. I am not sure what you are trying to accomplish, pleas explain. You might need to use a different function. | |
Re: Check `ProductListView.SelectedItems.Count`. If it's zero, exit your procedure. | |
I'm looking for a .NET tool/component I can use in WinForms that works like [mermaid](https://mermaid-js.github.io/mermaid/#/) but does not require a browser component. Something that generates an image is preferred. | |
Re: A request is asynchronous by default. I am not sure you can switch that off by using a setting in the `post`. The other option would be to use `await` and a `Promise`. | |
Re: On line 11 and 12 single quotes are missing to surround `$u` and `$pass`. | |
Re: Does the `user/` folder and it's sub-folders have write permissions? | |
Re: I'd probably implement a method like this: @Override @GET @Path("/{text}/search") @Produces("application/json") public BookList searchBooks(@PathParam("text") string text) { dbAccess.connectToDb(); return dbAccess.searchBooks(text); } and perhaps add another parameter to indicate whether to search isbn, title or author. | |
Re: See here the official spec: https://www.iana.org/assignments/media-types/media-types.xhtml Basically it defines what kind of information you are transmitting. | |
Re: http://phpqrcode.sourceforge.net/ | |
Re: Does the file you are trying to delete actually exist? | |
Re: https://dev.mysql.com/doc/refman/8.0/en/keywords.html At least `END` is a reserved word. Use backticks. | |
Re: Using [URL="http://api.jquery.com/each/"]each()[/URL] would get you there I think. [code] <script> $(document).ready(function(){ $('a.details').each(function(index){ $(this).qtip({ content: { url: 'view.php', data: { id: $(this).attr('sid') }, method: 'get' } }); }); }); </script> [/code] | |
Re: https://www.php.net/ChangeLog-7.php#7.4.12 | |
Re: Thanks for everything Rev, and the best of luck! Perhaps I can take your spammer hammer and do the whacking for you. | |
Re: // To protect MySQL injection for Security purpose $stmt = $conn->prepare($SQuery); $stmt->bind_param("i", $user_id); $stmt->execute(); $stmt->bind_result($fullName); $stmt->store_result(); if($stmt->fetstmt->store_result() // <-- this looks like a typo ch()) //fetching the contents of the row | |
Re: It says that `$val[1]` is invalid. Are you sure that `$val` is an array? | |
Re: Because you are only grouping on `r.reply`. Since there are only two differect replies, With what you've shown the group by could be `GROUP BY c.user_one, c.user_two, c.c_id, r.reply` and you'll get your expected result. I cannot predict the impact on the rest of your data though. Another way to … | |
Re: > In this topic we w'll learn how to check internet connection using a simple code. This code checks if there is a **network connection** available, and will most likely ALWAYS return TRUE. Detecting if there is an internet connection is better suited with `System.Net.Dns.GetHostEntry()`. The only problem you have … | |
Re: Have a look at: Microsoft.VisualBasic.CreateObject() https://docs.microsoft.com/en-us/dotnet/api/microsoft.visualbasic.interaction.createobject?view=netframework-4.8 IIRC, you'll neet to get the type name like so: Type.GetTypeFromCLSID(guid) | |
I'm looking to build a command-line tool that will enable me to read an arbitrary XML file combined with a mapping to fill an existing (arbitrary) SQLite database with data. What I'm looking for are conceptual ideas on how to solve this. I've got a possible theoretical solution in mind, … | |
Re: > I have no idea how to turn something this complex into a pdo prepare statement. Is it just a matter of putting it all on one line? A little late, but yes, that would be enough. Just replace your value with a placeholder so you can bind a value … | |
Re: Use [bootstrap](http://getbootstrap.com/css/#grid) to create 4 columns. | |
![]() | Re: Execute a shell command: dir C:\*.txt /s/b > C:\txtfile.txt This will output all files with extension .txt on drive C to the file at the end. VB has a ShellExecute function you can use to execute this. After it's done, open the file and process the results. |
Re: Missing quotes: insert into people (fname, lname) VALUES ('Firstname', 'Lastname'); | |
Re: - https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps - https://docs.microsoft.com/en-us/aspnet/core/blazor/progressive-web-app?view=aspnetcore-3.1&tabs=visual-studio | |
Re: $tags = array('linux,php,mysql'); Is an array with a single item. If `linux,php,mysql` is a single column in your DB, then you might do this: $tags = explode(',', 'linux,php,mysql'); To get an array with 3 items. | |
Re: Looks like the `elseif` on line 13 should be an `if` Only strange thing is that `$ret` is an array, so I do not understand why you check for `$ret > 0` |
The End.