64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Maideen

Hi i have issue in stored procedure converting data type Destination table dbo.Z_tbl_CirculationCopy_TEMP has numeric data type But source table Z_tbl_Import_temp have VarChar Type If I export data from source, I have error message Msg 8114, Level 16, State 5, Procedure Z_usp_IMPORT_EXCEL_UNPIVOT_1, Line 10 Error converting data type varchar to …

Member Avatar for hericles
0
1K
Member Avatar for SimonIoa

I want to make a search option. this is my statement in php $FILTER AND $ORDER are working perfectly. The statement too. else if (isset($_POST['search_all'])) { $Filter .= " AND M.title LIKE '%" . $_REQUEST['src_all'] . "%'"; $Order = " ORDER BY M.idate DESC"; } and this is the html …

Member Avatar for fobos
0
124
Member Avatar for SimonIoa

Can you tell what do i do wrong? this is the statement if (isset($_POST['search_all'])) { if (empty($_REQUEST['src_all'])) { echo "<p>You forgot to enter a search term</p>"; } elseif (!empty($_REQUEST['src_all'])) { $Filter = " M.message LIKE '%" . $_REQUEST['src_all'] . "%'"; $Order = " ORDER BY M.created DESC"; } } this …

Member Avatar for fobos
0
349
Member Avatar for Jack_9

In my opinion, python is a fantastic language, but is it possible to develop an operating system with python, BUT one thing that I do know is that if you were going to develop something with python it would probably have to be the gui. Because python dosen't even really …

Member Avatar for mike_2000_17
0
264
Member Avatar for dwlamb

I have two forms that are fairly identical located on different pages of a site. In order to call distinct jQuery ajax functions there are two class names I need to alter. For one of the pages, I place this script <script> $(document).ready(function(){ $(".itemDelete").switchClass("itemDelete","LibraryItemDelete"); $(".itemEdit").switchClass("itemEdit","LibraryItemEdit"); }); </script> and it is …

Member Avatar for dwlamb
0
173
Member Avatar for Jjajangmyeon

It's giving me an error telling me my reference variable hasn't been initialized. What does that mean, what's wrong with my code here? /* ------ FUNCTION: NEW ENTRY ------------------------------------ ----------------------------------------------------------------*/ void newEntry(char entries[], int index[]) { char buffer[256]; char password[8]; bool val = 0; int &length; cout << "\n------ New …

Member Avatar for Jjajangmyeon
0
6K
Member Avatar for archie.herbias

I want to build an own interpreter using c programming and I want to call it in command prompt. How would i do this? I just want to start a command "display" which can display the contents of a file like type in cmd.

Member Avatar for archie.herbias
0
2K
Member Avatar for hhm_pro992

Hi! I want to know, how to delete empty or blank row in DataGridView in Vb.net.......... "When i click Button the all empty or blank row in DataGridView will be remove......" LIKE this : " Before Button Clicked " ![cccfb5927324360a697c76844a521720](/attachments/large/3/cccfb5927324360a697c76844a521720.png "cccfb5927324360a697c76844a521720") " After Button Clicked " ![be990ddb7744e1b53a444eeda94e8064](/attachments/large/3/be990ddb7744e1b53a444eeda94e8064.png "be990ddb7744e1b53a444eeda94e8064")

Member Avatar for hhm_pro992
0
10K
Member Avatar for iConqueror

I have been coding in c# on and off since I started my first year of the degree in IT two years ago. Of course you use the (), [] and {} brackets **very** frequently but I have never took the time to actually look where you apply each type …

Member Avatar for Diamonddrake
0
234
Member Avatar for berserk

Ok i know this question might be riddled with ignorance but please bare with me. How to i go about deploying my php application i have developed, do i make it into an executable that can be installed on user machines, or do i just set it up like a …

Member Avatar for Jack_9
0
227
Member Avatar for rjusman90
Member Avatar for vizz

I have registered custom TLD like, **.com, .in, .co** I have servers to deal with DNS setting. Now I want to allow people to register their domain under my custom TLD. e.g. abc**.xyz** So I need web registry software to allow registering domains under tld, **`.xyz`** I want to do …

Member Avatar for veedeoo
0
133
Member Avatar for berserk

hey i have this code that always evaluates to true but it should only in the case of there being a value in the database i have selected, maybe im doing this wrong or maybe its something else but i cant seem to figure out the problem :( any assistence …

Member Avatar for berserk
0
360
Member Avatar for hanspeare_1

Hello everyone, I am confused with these little codes why it keeps error in updating the learner information. These are my codes so far. These are the bits of Student_Info.php which i think would be useful in my query. <?php if(!empty($_GET['flag']) && $_GET['flag'] == "success") { ?> <span class="stylered style1"><span …

Member Avatar for hanspeare_1
0
115
Member Avatar for Juliana20

I'm new at this language and I can´t understand this warning: Warning: Cannot modify header information - headers already sent by (output started at /Applications/AMPPS/www/.../users.php:316) in /Applications/AMPPS/www/.../phpgraphlib.php on line 213 I want to show some graphs about temperature, but appears the message above. Here's my code: phpgraphlib.php protected function initialize() …

Member Avatar for rubberman
0
265
Member Avatar for Jjajangmyeon

This is just a simple menu and I have no clue why it doesn't work. using namespace std; #include <iostream> #include <iomanip> #include <fstream> // ------ Prototypes --------------------------------------------- void mainMenu(); void newEntry(); void display(); void exit(); // ****** MAIN *************************************************** int main() { mainMenu(); return 0; } /* ------ MAIN …

Member Avatar for Jjajangmyeon
0
175
Member Avatar for kxjakkk

I wanted to format this string but I don't know how I can do the formatting part at all. class MyTime: def __init__(self, hrs=0, mins=0, secs=0): self.hours = hrs self.minutes = mins self.seconds = secs if self.seconds >= 60: self.minutes += self.seconds // 60 self.seconds = self.seconds % 60 if …

Member Avatar for sepp2k
0
265
Member Avatar for kxjakkk

This is my code: class MyTime: def __init__(self, hrs=0, mins=0, secs=0): self.hours = hrs self.minutes = mins self.seconds = secs if self.seconds >= 60: self.minutes += self.seconds // 60 self.seconds = self.seconds % 60 if self.minutes >= 60: self.hours += self.minutes // 60 self.minutes = self.minutes % 60 if self.hours …

Member Avatar for kxjakkk
0
285
Member Avatar for sundeep.gurroby

Hi guys, always a big thanks for your input. Really appreciate as always. Ok my issue today is with the password_hash function which randomly generate a salt before encryption. I am creating a user registration form...i need to protect the password before it is saved to the database when user …

Member Avatar for diafol
0
294
Member Avatar for kdejan87
Member Avatar for Ancient Dragon
0
148
Member Avatar for dfs3000my

Hi, I'm trying to access the RangeValidator control at my code-behind file. I keep on getting "Object reference not set to an instance of an object." exception. Can someone enlighten me? ASPX: [CODE]<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource1" DataKeyNames="subject_id" BackColor="White" BorderColor="#999999" BorderStyle="Solid" BorderWidth="1px" CellPadding="5" ForeColor="Black" GridLines="Horizontal" OnDataBound="GridView1_DataBound"> <Columns> <asp:TemplateField HeaderText="Hurdle Weight" …

Member Avatar for MystikShadows
0
582
Member Avatar for ChrisHunter

What is the best way to get the object, within a list of that object type, that has the highest ID number? I've been trying to figure it out and I can manage to get the highest ID number but not the object containing that ID number. Any help would …

Member Avatar for Ketsuekiame
0
241
Member Avatar for Excizted

Hello, I hope someone is more knowledgeable in Java than me while still knowing PHP! The following Java code makes a hash from a string, and I need a PHP equivalent that makes the exact same hashes. Simply md5() does not do the trick, and I looked at some PHP …

Member Avatar for Excizted
0
1K
Member Avatar for berserk

I need to add a check box on the end of each value in my html table that will be checked if the user would like to remove that value from the mysql database, my current cod elooks like this: <?php $con = mysqli_connect("localhost", "root", "", "numbers") or die(mysqli_error($con)); // …

Member Avatar for diafol
0
2K
Member Avatar for mbowenitj

Hi guys, I need help in refreshing the data in datagrid view, I’ve tried datagrid.refresh but nothing happens, I have to close the form and open it again to view the data. I need the data that I add to automatically show on the datagrid without having to close the …

Member Avatar for OtepTheThird
0
1K
Member Avatar for mixelplik

I'm trying to read a keyboard entry into a 256 char buffer then extract from just the chars entered (trying to restrict it to just 8 characters) I am fundamentally not understanding how the #$%#$^ing char arrays work: #include <iostream> using namespace std; int main() { char buffer[256]; char pw[8]; …

Member Avatar for mixelplik
0
298
Member Avatar for nadiam

Hi. i got table A(contact-names) which is where name are populated to from db and table B(guest-names) where names from table A will be appended to. this is the js i came up with to append the names: var msg2 = '<tr class="tr"><td><input type="text" name="GName" class="input-name" placeholder="Doubleclick on a name." …

Member Avatar for nadiam
0
497
Member Avatar for newbie26

hi. how can i convert string format to datetime: the string is formatted like : December 01, 2010 (which is another table) tblTransactions and the datetime column format is : 2010-12-01 (another table) tblBilling how can i search my string format to my table which matches the column (datetime field). …

Member Avatar for newbie26
0
242
Member Avatar for kent.johnstone_1

Hi, What is the difference between "__inline__" and "inline"? I have programs with both. "inline" works, "__inline__" has an error "Unable to resolve identifier __inline__" thanks

Member Avatar for kent.johnstone_1
0
345
Member Avatar for sundeep.gurroby

Trying to create a registration page...but i notice that Data is being sent to database on page load. I would like this to happen when the user click on Register button. What am i doing wrong...any solotion please? My database is below and code is also below: <?php require_once('Connections/bankusers.php'); ?> …

Member Avatar for sundeep.gurroby
0
260
Member Avatar for pars99

I keep running this code and it works until I press the button, `findShapeCalc()`, and then I get EXC_BAD_INSTRUCTION in the main.swift at the line `NSApplicationMain(C_ARGC, C_ARGV)`. Why does this keep happening? Code in question: import Cocoa class ViewController: NSViewController { @IBOutlet var dropDown : NSPopUpButton @IBOutlet var length : …

0
187
Member Avatar for Excizted

Hello Daniweb, I'm rebuilding a Flash-based website in PHP/HTML maintaining the same MySQL database. My problem now is, the user passwords are hashed of course - I need to use the same hash in the new application for old users to be able to still log in. But since the …

Member Avatar for Excizted
0
234
Member Avatar for flebber

I am having an error file object when opening and reading a text file(csv). I must be misusing the with so that when I call the function race table its getting a file object and not a readline. How can I get the with to correctly hand over the file? …

Member Avatar for flebber
0
151
Member Avatar for lloydsbackyard

i need to change the - of the date into / in $myDate1 . here is my code but its not working. also i need to insert / in the $myDate2 variable. $myDate1 = "06-20-2014"; $myDate2 = "06202014"; $newDate1 = date("m/d/Y", strtotime($myDate1)); $newDate2 = date("m/d/Y", strtotime($myDate2)); echo $newDate1; echo $newDate2; …

Member Avatar for diafol
0
146
Member Avatar for developer707

I am trying to get a variable from a javascript function, but I am having a problem getting it the variable value outside the function. The variable value can be outputted just fine inside the function. Here is the script, but how can I get the value of status and …

Member Avatar for developer707
0
697
Member Avatar for brittney_2

I need to write a class that stores a user-input date as a String in the format mmddyyyy. The constructor validates the input, but it accepts a String input and it tokenizes it into three parts, all int variables and in order to do that I have to tokenize the …

Member Avatar for brittney_2
0
265
Member Avatar for Sarkurd

Hi i'm following a book but i don't understand `std::string::size_type` and some other data types specially `typedef` i see programmers use them too much. typedef int grades[5]; grades studenA[5], studentB[5]; and why just not use `int` instead of `size_type` while the result is same. #include <iostream> #include <string> #include <algorithm> …

Member Avatar for Sarkurd
0
762
Member Avatar for moone009

First off this is my second day writing in Python. My manager switched us off SAS and moved us to Python and R which I actually am starting to like the flexibility. I have a few datasets that I work with on a regular basis that require a lot of …

Member Avatar for moone009
0
7K
Member Avatar for accra

Diafol, anybody pls help. i have this javascript code <script> FB.init({ appId : '00000000000000', frictionlessRequests: true, }); function sendRequestToRecipients() { var user_ids = document.getElementsByName("user_ids")[0].value; FB.ui({method: 'apprequests', message: 'Great App', to: user_ids, }, requestCallback); } function sendRequestViaMultiFriendSelector() { FB.ui({method: 'apprequests', message: 'My Great Request' }, requestCallback); } function requestCallback(response) { console.log(response); …

Member Avatar for accra
0
2K
Member Avatar for hanspeare_1

Good day Admins, I have now variables $learner_id $student_pasword The learner_id and student_password are being used as their log in accounts. While the student_id is being used as their unique id and it is auto-incremented. Here are my codes. Student_login_handler.php <?php session_start(); include 'Connect.php'; $flag = ""; $learner_id = $_POST['learner_id']; …

Member Avatar for hanspeare_1
0
313
Member Avatar for moaz.amin.37

hello every body. I need a book at java swing package.i am new in java programming and i want to learn GUI so plz help me. i want to download book of herbert schildt. book name swing a beginner guide Author Herbert Schildt

Member Avatar for stultuske
0
352
Member Avatar for ms061210

Hi everyone. I have this problem, my for each output is incorrect. This is my form, I have a dynamic table. It think the problem is not here, but for the sake of more clear explanations. ![f02560409ffa7053e6601d38d966fc3b](/attachments/large/3/f02560409ffa7053e6601d38d966fc3b.png "f02560409ffa7053e6601d38d966fc3b") I am passing the values of that table to another page, I …

Member Avatar for cereal
0
108
Member Avatar for nadiam

hello. im not sure if this is the right forum because it is about php echo AND js but since it is about echoing i thought this forum will be better. sorry if i asked in the wrong forum. Anyway, so i want to know if echoing a js script …

Member Avatar for DJBirdi
0
9K
Member Avatar for nadiam

Hello. I just thought of adding the js print function to a page im building. from what i read i know it is pretty straight forward, use window.print. i was thinking about some of these sites that have this printing function that when a button or link is clicked a …

Member Avatar for nadiam
0
3K
Member Avatar for kishor.m.n

Hi all, I was just trying to write a simple prog in which i'm trying to add multiple components to a JPanel and inturn i'm adding that to a JScrollpane. Now the problem i'm facing is when i run the prog i can see the contents of the panel(not all) …

Member Avatar for mKorbel
0
10K
Member Avatar for ondegotariq

Hi, Is it possbile to join only specific items in a list using indexes. Lets say I have 100 items,i would only like to join items[1-30]. Please advise.

Member Avatar for ondegotariq
0
98
Member Avatar for nathan.pavlovsky

I was just wondering, what is a good rule of thumb for industrial-grade code when deciding whether to use the std::array template vs a built-in array?

Member Avatar for mike_2000_17
0
1K
Member Avatar for hhm_pro992

Hi! i want ADD empty row in DataGridView............Like This![c9c3e54a6d28a6b686c9dcd1954b1f77](/attachments/large/3/c9c3e54a6d28a6b686c9dcd1954b1f77.png "c9c3e54a6d28a6b686c9dcd1954b1f77") ! When user enter Number in textbox and click button then Add empty rows(as per user input number in textbox) in DataGridView.......... for example :- if user entered "5" in textbox and click button then "5" empty rows will be …

Member Avatar for hhm_pro992
0
3K
Member Avatar for Papa_Don

I need to dynamically group rows together in an EXCEL worksheet. The obvious choice to do this will be VBA. I hope you can help. My spreadsheet has 18 columns and (up to) 5,000 rows of data. I've written the following code which works "OK" however it fails to group …

Member Avatar for Papa_Don
0
5K
Member Avatar for kiail

Hello, I have a device (a control relay board). I have it hooked into my home network and I have a different network that I would like to be able to access the device to control it. I have the mac address of my device and my ports are forwarded …

Member Avatar for kiail
0
291

The End.