199,114 Archived Topics
Remove Filter ![]() | |
Hey Everyone Is it possible to disable the dates that appear before todays date in a dateTimePicker control? I want to put in some validation so that my users can only select days in the future...ie a future appointment date Any ideas ? Thanks | |
Hello. I have created a new Zend project, created a new model class to get some data from the database. If the environment is set to 'development', the data from the database are displayed properly in the browser, but after setting the environment to 'production', the following error appears: **An … | |
Howdy, I'm a relatively experienced PHP developer looking to start building websites in Wordpress. I have previously built my own simple theme consisting of an index page that contains a bunch of posts and a template that is used for single posts with comments etc. I wouldn't say I'm very … | |
Hi Friends , I am new to PHP . I have designed a page and using MySQL at backend . On my page , I have following logic . 1. There are 4 checkboxes and a search button . 2. On the basis of selection of checkboxes when user clicks … | |
My professor gave us an assignment that I am not entirely sure how to start correctly. She gave us 2 java classes as well to use. Any assistance would be greatly appreciated... So basically, two things need to be done. I need to create two more classes, ExternalHashing and IndexHashTable...and … | |
I have to do a second assigment on doubly linked lists. Problem description: Create a class to implement a doubly linked list to store student records. Besides the basic operations, the class should include a sorting method that allow the user to sort the records in the list. Programming Requirements: … | |
On my client’s test website at http://cjcdigital.net/selfImprovement/blog/goal/test/ (that’s a direct link to the pod) I’m having an issue where despite installing Pods and configuring it as per this tutorial http://www.openscriptsolution.com/cms/wordpress/pods-2-0-how-to-display-pods-item-using-pods-page-and-pods-template/ I’m having an issue where nothing will display on the pods page, including various echo statements I tossed in my … | |
Hello. Is there any way that a tester, who does not have visual studio installed on his/her machine, can determine the .net framework version of an application he/she is testing? Thanks for your help | |
how can i convert an integer into a barcode? | |
I'm not sure if its my computer or what. For some reason when I run programs in class they go through fine but after running the same program at home it doesnt seem to work. Basically, what I'm trying to do is create an event handler that draws a circle … | |
Please help me with this code. when i tried to run it, it doesn't continue to this part "printf("\n\n Money: ");" but when i tried to change the data type of money to integer it does continue, but i need a float data type. please help, thank you. #include<stdio.h> #include<conio.h> … | |
I'm making an address book for class and i'm stuck. The teacher helped with some of the code I already have. Sorry for the lack of comments. I need help with the function to add records and then save them. Thanks #include <iostream> #include <fstream> #include <iomanip> #include <string.h> using … | |
For those of you who have worked with NMMAP before, Im raising an error each time I run my script. I'm using <python3 nmap_scanner.py -H 10.50.60.125 -p 21, 1720> at the command line to execute the script, and im running into the error: Traceback (most recent call last): File "nmap_scanner.py", … | |
I planning to buy an Android phone of medium budget so I need your help to find out the best so it does not hangs and works smoothly, it should support most apps in the play store? | |
I'm retrieving products from my database and listing them in a while loop. Like this <?php while($row = mysql_fetch_row($result)){ echo '<div class="product_info">'; echo '<div class="category_product_title"><a href="category-page.php">Product</a>'; echo '</div>'; echo '<div class="category_product_number">#'.$row[0].'('.$row[1].')'.'</div>';//prints id and name echo '<div class="category_product_description">'.$row[2].'</div>';//prints description echo '<div class="category_product_price">'.$row[4].'TL</div>';//prints price echo '<div class="category_details"><a href="productpage2.php">DETAILS</a></div>';//The link to list the … | |
Hello, I have a php script which detects if an image is vericle or horizontal. Then it resizes it to my certian specifications. An issue is I want the script to resize the image and then create a thumbnail image as well. The script works when resizing an image but … | |
I wrote this matlab code: [CODE] function [ n ] = SumTest( a, b ) n = a + b; end [/CODE] and deployed with MATLAB Builder NE. That create a class named MatLabTest with a method named SumTest. When I try to create a MatLabTest instance: [CODE] MatLabTest mt … | |
This is working code $sql = "REPLACE INTO 2_1_journal (Number,RecordDay, RecordMonth) VALUES "; $insertQuery = array(); $insertData = array(); foreach ($_POST['row_id'] as $i => $row_id) { $insertQuery[] = '(?, ?, ?)'; $insertData[] = $row_id; $insertData[] = $_POST['date_day'][$i]; $insertData[] = $_POST['date_month'][$i]; } if (!empty($insertQuery)) { $sql .= implode(', ', $insertQuery); $stmt … | |
the formula for naive bayes is P(A/B1,B2,B3...Bn) = [ P(A) * P(B1/A) * P(B2/A) * . . . P(Bn/A) ] / [ P(B1) * P(B2) *....P(Bn) ] i am working on a project to classify email as spam or not. i have a large data set. i am using nltk … | |
I am using system.net.mail for my email application and it works fine, untill I try to send multiple BCC address's. I can't work out why it is failing I get a long message from my try trap which basically says the server response was repeat limit reached. However I don't … | |
I have some html code in my php script which i'm executing through echo. Suppose i want to access an image on the server which is saved in my uploads folder from within that echo, how do i do it? I tried this $image = $row[8] //fetching the image name … | |
As usual I am having a love hate relationship with jQuery and Ajax :) I have a PHP file that uploads and resizes and image and stores the data in the database, which on its own works fine. I am now trying to do this through a jquery modal/dialog box … | |
Telling you before hand, i am just starting to learn, so please refrain from making fun of me i k i am real weak in this. ok here is what i need to do, i have been trying for ages but i am having huge problem creating dynamic checkboxes. This … | |
![]() | Hey, we just started learning functions in class. We were given a project to complete. I'm trying to work out the errors, but I'm stuck with error C2084: function 'void bubblesort(int [],int)' already has a body error C2084: function 'void print(int [],int)' already has a body error C2084: function 'void … |
Work has informed me that I need to run reports a certain way. I need to pull data out of the system database, and compile a report. I have a database with 3 tables. Personel (contains employee data), Q1 (1st quarter data) and Q2 (second quarter data). I'm trying to … | |
Hi everyone, how can I send data from one application to another. Something like a chat. I have 2 applications opened and then I want to send some data, for example label1.text, to the other opened application and then for example show it with a MSGBOX. Do I nees a … | |
Hi Guys I'm working on a little log in syetms for my website, hwoever have hit a little snag. I'm using cookies to track which users are logged in. I'm trying to make some pages restricted to vistors that have logged in only, so I decided to use `if($_COOKIE["loggedIn"] == … | |
Hello again everybody. I have a question which may be very basic for allot of you, so here it goes. I want to understand the process of creating makefiles. I've I realise there's some books out there like 'Mastering Cmake' and 'GNU Make' which describe the insides of these things, … | |
when are we supposed to use StubOutWithMock() ? | |
Hello Community, I have setup a [donation](http://randoma.co/randonate.php) system on my website and i was wondering what would be a good gift in return for donating i was thinking of doing like a sponsor thing so if someone donates a certain ammount i will sponsor them by putting an ad on … | |
![]() | hey guys, this is my code so far, it genarate 10 numbers between 100-1000 what I want to ask how I can let the program ask how many numbers I need to genarate , and whats the lowers bound, instead of 10, the i can choose any number ? also … |
im trying to send image from one system to another(client server model),it works fine when i use loopback ip address(same machine as both client and server) but when trying to send to another system,the gimp doesnt recognize the image and displays an error after receiving the image... here is the … | |
Hello Since I can't get something to work, as a temp fix, Im going to do something else but I need this to only happen if it is a Webkit based browser (Safari, Chrome, Android, etc...). How can I detect this? Thank you | |
Hello I have your standard input box to enter text. I can insert text in that textbox in all browsers except in Google Chrome. Why is this? | |
Hi all, Currently am developing a wordpress blog to download free resouces. I need a pure PHP script that allow useres to download files after liking my facebook page/follow my twitter page. Thanks in advance... | |
Hi guys, Have been developing C# desktop apps for a while now and when it comes to packaging(not clickonce),deployment with cd/dvd, I publish using visual studio's Build->publish option.The application installs well but all the paths to resources like images are broken.Where I'm I supposed to place the resources or which … | |
private void update() Int64 sum = 0; sum = (!string.IsNullOrEmpty(Request.QueryString["Id"])) ? Int64.Parse(Request.QueryString["Id"]) : 0; if (sum != 0) - Here in Debug mode, i get this condition is false and equals 0 { var context = new myDatabase(); var s = context.myTableName.FirstOrDefault(c => c.Id == sum); if (s!= null && … | |
Hello Every body I am standing on a cross road with a doubt which way is the correct way. As you all are seeing the image Groupbox and CheckBoxes all are dynamically created. What I am confused about If user select Sun Tue and Fri from XII2013SIF01 and Mon Tue … | |
Hello, For me it is weird this thing: Let say there is a part of xml: <result comments="LAST :T3 DIST : 3/4" favouritenews="WINNER & T3" id="3131846" message="OFF" nonrunners="0" ran="6" settlingstatus="D" statuscode="O"> <position fav="jf" id="8669343" name="Elizas Impact" num="1" photo="N" position="1" runnernumber="4" selectionref="26973474" sp="11/4" winnersTime="00:00:28.920"/> <position id="8669348" name="Amazing Madam" num="2" photo="N" position="2" … | |
The issue... janrain is a application that allows for other websites to login using facebook/myspace/yahoo and various other providers. When I put it on my phpox website, it goes thru the process but when it comes back to my website, it sometimes says authenticaion canceled. It has never let a … | |
I have tested out my procedure on my home machine. It woks pretty well I know there is output from the sql. Now I want to try it out on the host. It gives no output. Here is my php code $bob="call seeker($profound)"; if (mysqli_multi_query($conn,$bob)) { echo "<hr>"; echo "<table><th>Section</th><th>Author</th><th>Title</th>"; … | |
hi everyone, how can I read the html code from a certain web page opened with some browser. For example I have firefox with 2 opened tabs and then I want to read both html code until I can find some tags inside those opened web pages. thanks. | |
Hey guys, I have been reading the forum for a while, but I couldn't find anything that could help to figure out my current assignment. Its a very simple program, but somehow just doesn't work for me. I'm a beginner and I hope that somebody can explain what am I … | |
HI all, please any one help,its very urgent.I need to store one table in an object (collection) then want to retrieve. so i have confusion which is the best method to use whether list,map,set........ etc and my table values are upto 11 records. | |
I am beginner on java and i am having trouble while compiling below given code on CMD. **This code is taken from a book.** > E:\sher\SkyDrive\Exercise Files\L04>javac Student.java > > E:\sher\SkyDrive\Exercise Files\L04>java Student > Exception in thread "main" java.lang.NoSuchMethodError: main > // Student.java /* Demostrates the most basic features of … | |
Hi Good evening all I am trying to capture the below multi dimensional array using either POST or GET. the data is passed from a form and is displayed in the array format using print_r(GET); The packagecount = 2 indicates the mumber of packages and also corresponds to 1 and … | |
Hi Guys wanna ask some assistance/ help I'm making something like notification with jquery and php and its working fine now the only problem that i encounter is on the notification its only show one data repeatedly its not showing the other data that supposed to be showed Here's my … | |
hi,a question .. why does my script work as sh script.sh and not as ./script.sh ?? also,i was trying to write a script that would filter out a pattern in a .txt file and display the count of the same. Say my pattern is king, and there are 4 "king"s … | |
<?php //global $wpdb; /* Plugin Name:new plugin Description: A simple hello world wordpress plugin Version: 1.0 Author: arti shrivas Author URI: http://yourdomain.com License: GPL */ /* This calls hello_world() function when wordpress initializes.*/ //Note that the hello_world doesnt have brackets. add_action('init','new_plugin'); function new_plugin() { //echo "Hello World"; global $wpdb; $table_name … | |
Hi, I have a page MyList.aspx, which is giving me some issues. When the page loads, it loads perfectly. In my master page, on the left side of the page is a menu, and some hyperlink is provided. When i click on the hyperlink in the left pane, the page … |
The End.