-
Replied To a Post in Undefined Index
You query is missing comma's and single quotes. It will never run. You should change $_POST['$moba'] to either $_POST['moba'] or $moba -
Created Don't drink and drive
http://www.youtube.com/watch?v=zfvPPPc_UTs -
Began Watching Don't drink and drive
http://www.youtube.com/watch?v=zfvPPPc_UTs -
Began Watching Undefined variable
Hi All, I am getting an undefined error in the following code Undefined variable: Settings in C:\wamp\www\sessions\index.php on line 14(last line) Any help would be appreciated Thanks in advance David … -
Replied To a Post in Undefined variable
I'll check what happens on my machine when I'm home. -
Began Watching Developing ASP.NET applications using VB.NET
I have created an ASP.NET application in vb.net Use a Ubuntu 13.10 Server with Apache Tomcat No i want deploy (install) this application on this server. Is this possible? If … -
Replied To a Post in Developing ASP.NET applications using VB.NET
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. -
Began Watching Finding Width and Height of an image before uploading
I want to get the width and height of an image before uploading using javascript. I used The code shown below. But its returning 0 value <!DOCTYPE html PUBLIC "-//W3C//DTD … -
Replied To a Post in Finding Width and Height of an image before uploading
I think you need something like this: var uploadedFile = document.getElementById('f1'); var fileHeight = uploadedFile.files[0].height; -
Began Watching Undefined variable
Hi All, I am getting an undefined error in the following code Undefined variable: Settings in C:\wamp\www\sessions\index.php on line 14(last line) Any help would be appreciated Thanks in advance David … -
Replied To a Post in Undefined variable
> Warning: include_once(includes/functions/sitesettings.php): failed to open stream: No such file or directory in C:\wamp\www\sessions\index.php on line 11 > Warning: include_once(): Failed opening 'includes/functions/sitesettings.php' for inclusion (include_path='.;C:\php\pear') in C:\wamp\www\sessions\index.php on line … -
Began Watching Hi ..
Hello My name is Sarah Salah ... I am a Palestinian studying computer systems engineering in Palestine Polytechnic University I am pleased to join you -
Replied To a Post in Hi ..
Welcome to DaniWeb. -
Replied To a Post in Undefined variable
Not if you still have the warning about the file. -
Began Watching Undefined variable
Hi All, I am getting an undefined error in the following code Undefined variable: Settings in C:\wamp\www\sessions\index.php on line 14(last line) Any help would be appreciated Thanks in advance David … -
Replied To a Post in Undefined variable
I don't know why you would get warnings on the path. Apart from that, I'd move `$siteSettings = new SiteSettings();` from the `sitesettings.php` to your `index.php`. A class file should … -
Began Watching how to parse this json as key value
{"session_id":"-4y6g2ck_gEU2mvsFY0oZQ","propid":"7169","avail":"2","calendararray":["2013-11-13","2013-11-20","2013-11-27"]} -
Replied To a Post in how to parse this json as key value
Use `json_decode()` -
Began Watching where date is today problem
seems like a simple issue but i can't wrap my head around this. i need to get all rows where date is today BUT a new day starts not at … -
Replied To a Post in where date is today problem
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 … -
Began Watching How do I select the classroom from one table based on count of another tabl
Hi.I'm Nizam. Sorry if the question I asked is unclear. I have the table as below **Classroom** - id - capacity - code - ...... **Schedule** - id - group_id … -
Replied To a Post in How do I select the classroom from one table based on count of another tabl
Use my query above to select all rooms in schedule where there are at least two, then use that result as a sub-query for Classroom using `WHERE id NOT IN … -
Began Watching SMTP error could not connect to SMTP host
<?php /*~ class.phpmailer.php .---------------------------------------------------------------------------. | Software: PHPMailer - PHP email class | | Version: 5.1 | | Contact: via sourceforge.net support pages (also www.worxware.com) | | Info: http://phpmailer.sourceforge.net | | … -
Replied To a Post in SMTP error could not connect to SMTP host
Please, pasting the PHPMailer code is not helping. You should paste the code where you are using the PHPMailer class instead. That would be **YOUR** code, not the PHPMailer class. -
Began Watching Undefined variable
Hi All, I am getting an undefined error in the following code Undefined variable: Settings in C:\wamp\www\sessions\index.php on line 14(last line) Any help would be appreciated Thanks in advance David … -
Replied To a Post in Undefined variable
In My Opinion. If your brake fluid is empty in your car, do you disable the warning light? Work on the cause, not on the sympton. -
Began Watching Can I extend the array object in php?
While it may certainly seem "lazy" I spend a large portion of my time in javascript and I like the syntax for arrays. I cant seem to figure out if … -
Replied To a Post in Can I extend the array object in php?
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 … -
Began Watching Logging in with IE11 on Windows 8.1 Pro
So... had a bit of trouble logging in with IE11 (32 and 64 bit) on windows 8.1 pro. Even tried spoofing UAS and changing the compatability modes. There were no … -
Replied To a Post in Logging in with IE11 on Windows 8.1 Pro
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. -
Began Watching how to search in mysql using datetimepicker?
i search a lot of reference in web, but still im not satisfied to solve this problem, i used datetimepicker in vb.net to retrieve from database. i am using BETWEEN … -
Replied To a Post in how to search in mysql using datetimepicker?
What's the problem exactly? Is your date in the format `yyyy-mm-dd` ? -
Began Watching Undefined variable
Hi All, I am getting an undefined error in the following code Undefined variable: Settings in C:\wamp\www\sessions\index.php on line 14(last line) Any help would be appreciated Thanks in advance David … -
Replied To a Post in Undefined variable
> should they be resolved Always IMO. -
Began Watching SMTP error could not connect to SMTP host
<?php /*~ class.phpmailer.php .---------------------------------------------------------------------------. | Software: PHPMailer - PHP email class | | Version: 5.1 | | Contact: via sourceforge.net support pages (also www.worxware.com) | | Info: http://phpmailer.sourceforge.net | | … -
Replied To a Post in SMTP error could not connect to SMTP host
Instead of pasting the PHPMailer source, it would be better if you show YOUR code, so we can see how you called it. -
Began Watching Mysql_fetch_array problem
Sir, I am using these codes <?php if(isset($_POST['login'])){ require_once("connect.php"); session_start(); // username and password sent from Form $myusername=addslashes($_POST['username']); $mypassword=addslashes($_POST['password']); if(empty($myusername) || empty($mypassword)) { echo '<script>alert("User name and password must not … -
Replied To a Post in Mysql_fetch_array problem
Do this: $result = mysql_query($query) or die(mysql_error()); Reply with the error message. -
Began Watching Undefined variable
Hi All, I am getting an undefined error in the following code Undefined variable: Settings in C:\wamp\www\sessions\index.php on line 14(last line) Any help would be appreciated Thanks in advance David … -
Replied To a Post in Undefined variable
> Not sure if that is correct? Debatable. It works, but defining a good folder structure is often recommended. Especially if the projects get larger. -
Began Watching Undefined variable
Hi All, I am getting an undefined error in the following code Undefined variable: Settings in C:\wamp\www\sessions\index.php on line 14(last line) Any help would be appreciated Thanks in advance David … -
Replied To a Post in Undefined variable
Missing semi-colon on line 4. -
Began Watching Undefined variable
Hi All, I am getting an undefined error in the following code Undefined variable: Settings in C:\wamp\www\sessions\index.php on line 14(last line) Any help would be appreciated Thanks in advance David … -
Replied To a Post in Undefined variable
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'] = … -
Began Watching Hey people
I am Matt, programming since about 6-10 months. But that ofcourse doesn't mean I have been programming for that time every day/week/month. Actually I rarely program due to school and … -
Replied To a Post in Hey people
Welcome to DaniWeb. -
Began Watching help me
programmers help me i have a problem for my study issue, if i ask you to develop a program that contain a database and using php scripting language how much … -
Replied To a Post in help me
> 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? -
Began Watching mysql query
I am using below query for fetching result using union of two tables. I am trying to get total number of records after union of two tables Need Suggestions. ` … -
Replied To a Post in mysql query
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 ) Dummy
The End.