8,966 Posted Topics
![]() | Re: PHPStorm here. VERY satisfied with it. Been using it since V1, as at the time there wasn't really anything better. |
Re: > I am facing an issue What's the issue? Am guessing the colons before your parameter names in bindParam... ![]() | |
Re: Shouldn't you be querying for only the user that is trying to login, instead of getting all users? Similar to [this question](https://www.daniweb.com/web-development/php/threads/497864/getting-error-while-using-in_array-function). | |
Re: > Have I got any settings wrong or is something else amiss under the hood? Might be. Friday or saturday I got the e-mail invitation to chat for the wednesday before. | |
Re: A quick difference I see is that Edit is a GET request, whereas Delete does a POST. Update: You posted an update while I posted this. Perhaps you need to put that ID in a hidden input to pass it back, but not entirely sure about that. | |
https://www.packtpub.com/packt/offers/free-learning Packt is giving away a free e-book on a daily basis. Visit daily and add to your account is all you have to do. | |
Re: > Could not find stored procedure 'spSearchPlayers'. Check if you have that stored procedures and permissions to execute it. | |
Re: From your samples I wonder if you want to build a "world" class containing all the countries. Basically it contains a list/array of countries, and will have access to the country properties needed to show or compare. Something like this: class World private Countries public AddCountry(name, land, etc) public Compare(country1, … | |
Re: > Is it because I cannot mix JavaScript with PHP code. Correct. | |
Re: https://www.daniweb.com/community-center/daniweb-community-feedback/threads/452623/new-forum-topic-idea#post1962905 | |
Re: Twin Peaks and Green Hornet are the first that come to mind. Twilight Zone is a good third. | |
Re: What exactly are you looking for? You need to be more descriptive than that. | |
Re: IIRC both require PHP, so check if PHP is running on your host (newer hosts will have it). Install it in a subfolder, and you can have any (sub)domain point to it. While installing you should be able to select/create the database you want to use. Both have been around … | |
Re: Closed. https://www.daniweb.com/web-development/javascript-dhtml-ajax/threads/497879/calculation-in-javascript | |
Re: Closed. https://www.daniweb.com/web-development/javascript-dhtml-ajax/threads/497879/calculation-in-javascript | |
Re: I'd use `Truncate` or `Floor` because it returns a `double`. If you cast to an `int` you might get issues, because a `double` can contain much larger values. As for converting to a string... You're doing math, stick with numbers ;) | |
Re: while ($row = mysqli_fetch_array($query_get)) { $username = $row['username']; } THAT keeps overwriting your username variable, so it's not an array. This is how you build an array. while($row = mysqli_fetch_array($query_get)) { $username[] = $row['username']; } I wonder why you are doing this, instead of just querying for the username... | |
Re: I think you're looking for: string.Format("{0:#.##}", x) [Docs](https://msdn.microsoft.com/en-us/library/0c899ak8(v=vs.110).aspx) | |
Re: It would only work with a label if you have set a fixed width font. | |
Re: > it works fine but when i refresh my page the message stay How do you refresh the page? If you hit F5 the browser may load the cached page, instead of requesting it again. ![]() | |
Re: DELETE FROM yourtable WHERE emailcolumn LIKE '%@mydomain.co.uk' ![]() | |
Re: I think you just need to configure the correct credentials. | |
Re: Without showing something it will be impossible to help you. Is this website online somewhere to see? | |
Re: Create a new `Request` instance about and call the `all()` method. http://abishek.me/docs/aftership-php-sdk | |
Re: No. You'll need something as an intermediairy between your client Javascript and your database server. | |
Re: Nothing in the default settings? Hard to say without seeing it. | |
Re: Why not just add your old harddrive to your existing setup? | |
Re: You seriously need to reply and repost this in a readable format. | |
Re: int selectedIndex = ((DropDownList)sender).SelectedIndex; Not sure, perhaps the combo needs to be inside the UpdatePanel for your code to work. Haven't tried. | |
Re: What kind of module do you mean? Oh, I didn't read the title apparently... ignore. | |
Re: > mySQL = "SELECT * from Eng_Dip = @par_Course_Name"; mySQL = "SELECT * from Eng_Dip WHERE Course_Name = @par_Course_Name"; Same on line 18. The syntax is SELECT * FROM table WHERE column = 'value' | |
Re: 1) With `public List<string> Allergies { get; set; }` I'd prefer to use a class for an allergy too. Think about it, although a string containing "peanut allergy" might be handy, if you make it a class you can reference the same allergy by ID (in the database, EF connects … | |
Re: Am not sure about Oracle but SQL Server uses TOP 1. MySQL has LIMIT 1. Firebird has FIRST 1. If that doesn't work maybe DISTINCT can help. | |
Re: Isn't that just this: SELECT percentage, product, COUNT(*) FROM mysample GROUP BY percentage, product | |
Re: return Math.random() * 899 + 100; Have a look at this one: new Date().getFullYear() Am sure you'll be able to figure it out. | |
Re: Where's your code, and what problem do you have? | |
Re: There are repair tools available, but I haven't used any of them. Make some copies of your DBF and download and try some. | |
Re: Check the link in my reply here: https://www.daniweb.com/web-development/aspnet/threads/490197/asp-net-mvc5-identity Helped me a lot, but I removed owin and identity completely. I also found [this one](http://weblog.west-wind.com/posts/2015/Apr/29/Adding-minimal-OWIN-Identity-Authentication-to-an-Existing-ASPNET-MVC-Application) later on. | |
Re: All these: $_GET{'page'} should be: $_GET['page'] | |
Re: > I'm assuming i'll need a separate page for writing and uploading posts and then the page that users will view? Correct. It isn't very hard to get a basic blog running. You only need a page with an editor to write your articles. Then separate pages to view the … |
The End.