8,966 Posted Topics

Member Avatar for riwakawd
Member Avatar for blueguy777

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 …

Member Avatar for pritaeas
0
201
Member Avatar for Jack_11
Member Avatar for robertlaar
Member Avatar for SimonIoa

> MySQL server has gone away That usually means that your connection timed out. What exactly is your PHP code doing?

Member Avatar for SimonIoa
0
356
Member Avatar for Desislava_1
Member Avatar for Bile

> $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);

Member Avatar for Bile
0
211
Member Avatar for saadi06

> 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?

Member Avatar for pritaeas
0
62
Member Avatar for pritaeas

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 …

Member Avatar for pritaeas
0
193
Member Avatar for KevinVernon
Member Avatar for JamesLV
Member Avatar for pritaeas

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.

Member Avatar for pritaeas
0
1K
Member Avatar for Violet_82

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?

Member Avatar for Violet_82
0
218
Member Avatar for kakalahori

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 …

Member Avatar for pritaeas
0
265
Member Avatar for AntonyRayan
Member Avatar for Shannon_1
Member Avatar for rajeesh_rsn

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]

Member Avatar for monika1992
0
6K
Member Avatar for Ixiondbz
Member Avatar for fawadali
Member Avatar for mangel.murti
Member Avatar for vegaseat

> 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.

Member Avatar for RobertHDD
0
280
Member Avatar for allansouljakol
Member Avatar for Mohamed59
Member Avatar for prash21m
Member Avatar for EvolutionFallen
0
140
Member Avatar for Santanu.Das

I don't see any, nor any deleted posts. Something must have gone wrong.

Member Avatar for Santanu.Das
0
167
Member Avatar for brijen
Member Avatar for harishprakash
Member Avatar for pritaeas
0
73
Member Avatar for Santanu.Das

https://www.daniweb.com/community-center/daniweb-community-feedback/threads/477757/get-paid-to-answer-questions

Member Avatar for imti321
0
359
Member Avatar for sathyakumar23

They all have their strengths and weaknesses. There is no single best. Pick the right one for the job instead.

Member Avatar for diafol
0
206
Member Avatar for Priti_P

> my string should contain atleast one character. Use `+` instead of `*` You need to escape the dot too: /^[ A-Za-z0-9_@\.#&,()-]+$/

Member Avatar for Taywin
0
146
Member Avatar for Osagie_1

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)

Member Avatar for pritaeas
0
220
Member Avatar for Dani
Member Avatar for pritaeas
1
189
Member Avatar for hell hansen

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

Member Avatar for pritaeas
0
2K
Member Avatar for FarrisFahad

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.

Member Avatar for broj1
0
397
Member Avatar for Prasanth Kps
Member Avatar for CharAmel

You should have thought of that before posting, as removing threads only occurs when they violate our rules.

Member Avatar for <M/>
0
257
Member Avatar for razamughal67

I think you can use `window.location` and check if `.com` is at the end of the url.

Member Avatar for razamughal67
0
231
Member Avatar for davy_yg
Member Avatar for iveto89
Member Avatar for hiddenbeliever

Welcome to DaniWeb. What language/databases are you working with? Look for certifications in those areas.

Member Avatar for pritaeas
0
297
Member Avatar for zzmrzz

> 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

Member Avatar for imti321
-9
377
Member Avatar for Violet_82
Member Avatar for Violet_82
0
211
Member Avatar for Priti_P
Member Avatar for Osagie_1
Member Avatar for joshl_1995

Personally, I prefer more screens over larger screens. The reason is because debugging multiple interacting applications is much easier.

Member Avatar for joshl_1995
0
407
Member Avatar for pritaeas

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 …

Member Avatar for pritaeas
0
1K
Member Avatar for hirenpatel53

If you do not want to pay, just copy this: [url]http://en.wikipedia.org/wiki/List_of_cities_in_India[/url]

Member Avatar for Ganesh_8
0
10K
Member Avatar for SimonIoa
Member Avatar for cocojrch00
Member Avatar for kazkuzzer007

Apart from the errors, which puzzle is it solving, or am I missing something obvious?

Member Avatar for Taywin
-1
437

The End.