8,966 Posted Topics
Re: > work in correct order Can you explain what you mean? | |
Re: function qry($qry) { $this->res = mysql_query("SELECT cardNo, installmentAmount, paymentDate FROM payment order by cardNo", $conn); if ($this->res != false) { $i = 1; while ($this->res = mysql_fetch_array($qry)) { $myArr = array($i, $this->res['cardNo'], $this->res['installmentAmount'], $this->res['paymentDate']); $i++; } } } `$this->$conn` is not valid. It should be `$conn` because you set it … | |
Re: What kind of maps? Something like: http://jqvmap.com | |
Re: > MySQL server has gone away That usually means that your connection timed out. What exactly is your PHP code doing? | |
Re: > $Connector=@mysqli_connect($this->Host,$this->Username,$this->Password,$this->dbName); That is procedural style. If you want to use `$Query->affected_rows;` you'll need to use: $Connector = new mysqli($this->Host, $this->Username, $this->Password, $this->dbName); | |
Re: > whenever I copy data to a tpl file How are you copying? If your tpl file is in unicode, I think it should work. How does the header of your outputted HTML look? | |
I have the following: <h1><asp:Literal runat="server" Text="<%$ Localize:LoginRequest %>"/></h1> <fieldset> <legend></legend> <input runat="server" class="form-control" placeholder="E-mail" type="text" /> <input runat="server" class="form-control" placeholder="Password" name="password" type="password" value="" /> <button runat="server" type="submit" class="btn btn-default"><asp:Literal runat="server" Text="<%$ Localize:Submit %>"/></button> </fieldset> `Localize` is a custom expression builder to translate my strings from a resource file. I … | |
Re: Black Sabbath / Black Sabbath | |
I'm looking for a user login (or identity) tutorial/example on MVC5 that uses an existing SQL Server database and user table, so NOT code first, and NOT using Entity. Can't see the forest through the trees apparently, because I cannot seem to find one. | |
Re: GitHub is free, but the free accounts do not have private repos. So anybody could access your files. If you want private, BitBucket provides that. Uploading files to your website would be an easier solution. Do you just want it as a dropbox, or do you need file versioning? | |
Re: Use a CVS (like GitHub or BitBucket, VisualSVN for example). You have access to the master branch, others create and check in their work/changes. Every change can be reverted, and you can contractually need them to check in before payment. You can give each developer his own branch, which you … | |
Re: Date format for databases is usually `yyyy-mm-dd` | |
Re: > That is my task So... what have you tried so far? | |
Re: From the [URL="http://php.net/manual/en/function.exif-thumbnail.php"]php manual, comments section[/URL]: "If you want to convert from TIFF to JPG you can use ImageMagick if it is installed in your server." [code] <?php $exec = 'convert /path/to/file.tiff /path/to/file.jpg 2>&1'; @exec($exec, $exec_output, $exec_retval); //possible error print_r($exec_output) ?> [/code] | |
Re: https://www.daniweb.com/software-development/cpp/threads/70096/c-books | |
Re: > I store all my code samples on DropBox For code I use GitHub, BitBucket and Visual Studio Online. At least you get some decent versioning then. | |
Re: I see a `mConnection.Close()`, but no `mConnection.Open()` | |
Re: There are many such samples in this forum. Did you try a search for pagination? | |
Re: I don't see any, nor any deleted posts. Something must have gone wrong. | |
Re: What have you done, and what doesn't work? Be more specific. | |
Re: https://www.daniweb.com/community-center/daniweb-community-feedback/threads/477757/get-paid-to-answer-questions | |
Re: They all have their strengths and weaknesses. There is no single best. Pick the right one for the job instead. ![]() | |
Re: > my string should contain atleast one character. Use `+` instead of `*` You need to escape the dot too: /^[ A-Za-z0-9_@\.#&,()-]+$/ | |
Re: I think it should be something like this: $query = "//*[@ID=444]//*[text() = 'data2']"; since you want to find the text value of a node. Am a bit rusty in xpath, so you'll have to try. Have a look at [this tool](http://www.huttar.net/dimitre/XPV/TopXML-XPV.html) | |
Re: > The rss icon looks out of place Agreed. Why not use fa-rss? | |
Re: If you bind values by name, you must use those names in your query, instead of the question marks: $sql .='VALUES (:name, :registered-name, ... and so on | |
Re: I am sure the code can be found on this site too. I know I've posted one possible solution, but I haven't found it yet. | |
Re: https://support.google.com/adsense/ | |
Re: You should have thought of that before posting, as removing threads only occurs when they violate our rules. | |
Re: I think you can use `window.location` and check if `.com` is at the end of the url. | |
Re: > ''Economy'' Single quotes need to be escaped. | |
Re: Welcome to DaniWeb. What language/databases are you working with? Look for certifications in those areas. | |
Re: > asking if anyone have some old codes! That's not how your question was formulated: > can anyone make me a working login system ... it doesn't take long to made | |
| |
Re: > On upload of resume Any specific format? | |
| |
Re: Personally, I prefer more screens over larger screens. The reason is because debugging multiple interacting applications is much easier. | |
For a report I had to show a list of items (ID's). Instead of showing them all, they wanted to show consecutive items separated by a dash. Just like the way you would use print pages in Word for example. In the print dialog you can say 1-5, 8 to … | |
Re: If you do not want to pay, just copy this: [url]http://en.wikipedia.org/wiki/List_of_cities_in_India[/url] | |
Re: Zend the IDE, or Zend the framework? | |
Re: Apart from the errors, which puzzle is it solving, or am I missing something obvious? |
The End.