8,966 Posted Topics

Member Avatar for tqmd1

Line 50 is missing an `=` Line 61: single quotes are missing from your query for string data.

Member Avatar for pzuurveen
0
120
Member Avatar for TheBludger

> It seems obvious to me that you do not want that database code inside input.php. because you don't want your web site users able to initialise databases. Yes, it is good practice to keep them separated. However, PHP code is not readable by your website users, they only see …

Member Avatar for TheBludger
0
284
Member Avatar for swati1706
Member Avatar for loya90

Remove `ERROR_REPORTING(0);` as this disables all error messages.

Member Avatar for pritaeas
0
254
Member Avatar for <M/>

From the error messages I conclude you should've aliased your resulting columns. Next to that 8 is missing the dollar sign, 9 is missing a column.

Member Avatar for pritaeas
0
179
Member Avatar for strRusty_gal

> what is EXEC sp_cycle_errorlog? http://technet.microsoft.com/en-us/library/ms182512.aspx

Member Avatar for pritaeas
0
83
Member Avatar for ryantroop

I've been using IE11/Win8.1Pro for over a month, without a hitch. Only difference is that I do not use FB/G+ to login.

Member Avatar for ryantroop
0
349
Member Avatar for Jemuel

`mysql_query` does not allow multiple queries to be sent at once. If you want to use this feature, I suggest you switch to MySQLi where you can use `mysqli_multi_query`

Member Avatar for Jemuel
0
211
Member Avatar for jacob21
Member Avatar for tooota

If you have no experience, wouldn't it be better to start with an existing package and go from there? There are already discussions on ASP.NET versus PHP, so I suggest you use the search feature to find out more about those.

Member Avatar for tooota
0
200
Member Avatar for erum
Member Avatar for Dani
Member Avatar for MrSheba

Please repost here: http://www.daniweb.com/business-exchange/jobs-and-resumes/52 Closed.

Member Avatar for pritaeas
0
79
Member Avatar for Sara_6
Member Avatar for varunvashista

Instead of pasting the PHPMailer source, it would be better if you show YOUR code, so we can see how you called it.

Member Avatar for varunvashista
0
617
Member Avatar for Ahmed_39

If for every invoice you count the lines for each unique loc_cd, and then group them (by invoice and loc_cd), you can then select the invoices that have only one count.

Member Avatar for Ahmed_39
0
206
Member Avatar for primzon

> Or is it just better to start with CMS (e.g. DotNetNuke)? If you think DNN has all you need, why not just start with that and see if it suits your needs.

Member Avatar for primzon
0
227
Member Avatar for diafol

Me too, although I haven't had time to debug yet. It stops after the redirect which returns the code (all I can see so far).

Member Avatar for pritaeas
0
381
Member Avatar for Dani
Member Avatar for Dani
0
244
Member Avatar for Sanjay_6
Member Avatar for pritaeas
1
232
Member Avatar for jacob21
Member Avatar for minitauros
0
229
Member Avatar for davidjennings

This is one option: class SiteSettings { public $Settings = array (); public function __construct() { $this->Settings['WS-Filepath'] = '/wamp/crud/view.php/'; $this->Settings['WS-HTTPpath'] = 'http://localhost/crud/view.php/'; $this->Settings['DB-Hostname'] = 'localhost'; $this->Settings['DB-Username'] = 'root'; $this->Settings['DB-Password'] = ''; $this->Settings['DB-Database'] = 'db301847341'; } } $siteSettings = new SiteSettings(); header('Location: ' . $siteSettings->Settings['WS-HTTPpath']);

Member Avatar for davidjennings
0
872
Member Avatar for minitauros
Member Avatar for pritaeas
1
218
Member Avatar for Eagle.Avik

After executing `query` you need to fetch the results first. See my [code snippet](http://www.daniweb.com/web-development/php/code/435142/using-phppdo-with-error-checking). `$result` does NOT contain the returned rows.

Member Avatar for pritaeas
0
340
Member Avatar for tqmd1

You query is missing comma's and single quotes. It will never run. You should change $_POST['$moba'] to either $_POST['moba'] or $moba

Member Avatar for pritaeas
0
149
Member Avatar for divyakrishnan

I think you need something like this: var uploadedFile = document.getElementById('f1'); var fileHeight = uploadedFile.files[0].height;

Member Avatar for divyakrishnan
0
221
Member Avatar for dre-logics

http://www.mono-project.com/Main_Page Mono should be able to allow you to run .NET on Tomcat. I've seen other threads about this, but am not sure if they were answered.

Member Avatar for pritaeas
0
208
Member Avatar for laura301019

Is this different from [this](http://www.daniweb.com/web-development/aspnet/threads/468966/executescalar-requires-an-open-and-available-connection.-the-connections-c) ? If not, what's the error?

Member Avatar for Ranjitrathod15
0
232
Member Avatar for ollicadyan

> how much it will cost for the whole development Hard to say without more specific requirements. Are you looking for cost in hours, or money?

Member Avatar for Lsmjudoka
0
94
Member Avatar for laura301019
Member Avatar for sallaudin
Member Avatar for Andrea_1
Member Avatar for arcticM

You should be able to use a combination of `CURDATE` with `DATE_ADD`. Take the date part of today, and add two hours for the start date, add a day and two hours for the end date. https://dev.mysql.com/doc/refman/5.5/en/date-and-time-functions.html#function_date-add

Member Avatar for arcticM
0
189
Member Avatar for nizam27391

Something like: SELECT * FROM Schedule GROUP BY classroom_id HAVING COUNT(*) < 8 Am sure you can do the rest.

Member Avatar for pritaeas
0
201
Member Avatar for ryantroop

Since array is not a class, I think what you describe in your last paragraph is the way to go. Whether it's overhead... I wouldn't implement it but if you find this easier/better to use, then why not.

Member Avatar for pritaeas
0
456
Member Avatar for sheerwoodjohn.caday
Member Avatar for Yogesh_5
Member Avatar for Anson.tay3
Member Avatar for KrazyCod3r
Member Avatar for tqmd1

Do this: $result = mysql_query($query) or die(mysql_error()); Reply with the error message.

Member Avatar for pritaeas
0
159
Member Avatar for jacob21

SELECT SUM(num) FROM ( SELECT COUNT(*) num FROM svn_headline a where a.newstypeid=2 UNION SELECT COUNT(*) num FROM svn_crimenews b where b.newstypeid=2 )

Member Avatar for pritaeas
0
102
Member Avatar for pritaeas

See attached image. I've seen this a couple of times after replying, or editing an article (Opera and IE). ![566b4c3e4bcb53bbfbdf720a3a288125](/attachments/large/0/566b4c3e4bcb53bbfbdf720a3a288125.jpg "566b4c3e4bcb53bbfbdf720a3a288125")

Member Avatar for pritaeas
0
129
Member Avatar for pritaeas

Anybody familiar with AutoVue? Am using Desktop V20.2.2 embedded in a WinForm. Am looking if it's possible to set the background color. So far I haven't found any conclusive answer whether or not this is possible.

Member Avatar for pritaeas
0
389
Member Avatar for Saboor880

> can i earn online You mean as a freelancer? Basically that's possible.

Member Avatar for pritaeas
0
106
Member Avatar for mmcdonald

Other suggestions? Other than the dropdowns? A list you can reorder (dragging or up/down buttons), or rows/columns of checkboxes (4x4). Clicking a checkbox should disable the ones on the same row, and in the same column.

Member Avatar for pritaeas
0
224
Member Avatar for davy_yg
Member Avatar for Udeme_1
Member Avatar for davy_yg
Member Avatar for davy_yg
0
55
Member Avatar for cool_zephyr

Depending on the server that file is hosted on, you can request the file size, and whether the server supports resume. If it does, then you can use the HTTP Range header to specify which block of data you want.

Member Avatar for pritaeas
0
242
Member Avatar for patk570

I made a code snippet about this a while back. You can find it under the [PHP code snippets](http://www.daniweb.com/web-development/php/code/425686/create-a-table-x-columns-wide) tab.

Member Avatar for patk570
0
179

The End.