199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for bolfescu

Hy i have a search that now its works only if write or the first name or the last name, both didnt work....fn+ln....what i need to change?...ive tryied JOIN but nothing... if (Input::has('name')) { $name = Input::get('name'); $name = T_entity_details::where('First_Name','LIKE','%'.$name.'%') ->where('Last_Name','LIKE','%'.$name.'%','OR') ->where('Entity_Id','!=',$this->userId) ->get(array('Entity_Id')) ->toArray(); $array1 = []; foreach ($name as …

Member Avatar for bolfescu
0
198
Member Avatar for Ketul_1
Member Avatar for nhrnjic6

Am having real problem understanding what the problem is. Here is the code : Stack.h : #ifndef STACK_H #define STACK_H #include<Node.h> typedef int Stack_entry; class Stack { public: enum Error_code{succes,overflow,underflow}; private: int counter; public: Stack(); ~Stack(); //Stack& operator=(const Stack &Stack_copy); bool empty_stack()const; Error_code push(const Stack_entry &item); Error_code pop(); Error_code top(Stack_entry …

Member Avatar for tinstaafl
0
153
Member Avatar for mrupload

Hi I am beginner in c++ , I have a console project and want to convert it to windows application , after 6-7 days trying I couldn't convert it and when I compile project I have many more errors This is my console project: http://uploaded.net/file/8yv5u1s7 Please convert it for me …

Member Avatar for Schol-R-LEA
0
354
Member Avatar for safi.najjar1

Hello guys I have a problem with jquery this my code: var count = $(".count"); $('.minus').on('click', function () { if (count.val() > 1) count.val(parseInt($(".count").val()) - 1); }); $('.plus').on('click', function () { count.val(parseInt($(".count").val()) + 1); }); and HTML code: for first product and other products: <td> <input type="button" id="minusInCart" class="minus" value="-"> …

Member Avatar for Airshow
0
2K
Member Avatar for murali2489

Hi All, My application works fine in ie 8 but while running the application in IE 11, at first it loads fine. But after sometime when i click on any button or any links in the page, I am getting an error stating ** No action exist for view Null …

0
121
Member Avatar for fmchua

hi. can someone help me with this . req: if item code is A description is CHAIR witha a prize of 200 else if itemcode is B description is TABLE with a prize of 500 else item code is C description is PC with a prize of 4000. output display …

Member Avatar for David W
0
104
Member Avatar for furalise

Hi there. I have found how to declare a two dimensional vector like below: vector < vector < vector<int> > > myvector; My question is, how do I declare a three dimensional vector? Is it as per below? I just thought there may be a standard for this. Thanks vector …

Member Avatar for furalise
0
185
Member Avatar for asardeen

Below is my registration page and it is allowing duplicate values in the DB. Could you please help me where am going wrong private void ExecuteInsert(string UserName, string Password) { SqlConnection conn = new SqlConnection(ConfigurationManager.ConnectionStrings["ApplicationServices"].ConnectionString); string sql = "INSERT INTO UserMan (UserName, Password) VALUES " + " (@UserName,@Password)"; try { …

Member Avatar for pritaeas
0
132
Member Avatar for davy_yg

Hello, I wonder why this condition does not work: registration3.php <?php include('includes/koneksi.php'); $email = isset($_POST['email']) ? $_POST['email'] : ''; $confirmation = isset($_POST['confirmation']) ? $_POST['confirmation'] : ''; $password = isset($_POST['password']) ? $_POST['password'] : ''; $fname = isset($_POST['fname']) ? $_POST['fname'] : ''; $lname = isset($_POST['lname']) ? $_POST['lname'] : ''; $gender = isset($_POST['gender']) …

Member Avatar for Webville312
0
147
Member Avatar for ilovephp798

Hi all, i would like to ask about, i have (date_from) and (date_to), and i want the range of the date show in the checkbox. Example: date from: 6/8/2014 and date to: 8/8/2014. it will show 6/8/2014, 7/8/2014 and 8/8/2014 along with check box. so, i have success make the …

Member Avatar for ilovephp798
0
214
Member Avatar for UK-1991

Hello guys I really need your help. I Had created attendance system but I stucked up with time in button. I have created a time out and time in button and both are working fine and great but the main problem is that I am unsuccessful for making the time …

Member Avatar for UK-1991
0
923
Member Avatar for henryz_box

I'm having trouble getting the Cards off the table in this card game I'm working on. The cards are JLabels that hold images of the cards. These JLabels are created dynamically into a JLayeredPane. I have created some variables to hold the info I believe I need in order to …

Member Avatar for henryz_box
0
131
Member Avatar for Suzie999

I'm trying to catch an SQLite problem but I'm unsure how. The problem is opening a database which is password protected. No error appears to be thrown when opening a database with an incorrect or no password. I tried the following. SQLiteConnection m_dbConnection = null; try { m_dbConnection = new …

Member Avatar for Suzie999
0
1K
Member Avatar for rfresh

I've added a splitContainer to my form but I can't figure out how to set the splitContainer.panel2 width and height? I have two panels: splitContainer.Panel1 and splitContainer.panel2. I have the splitContainer.Dock set to Left. When I try to set the splitContainer.panel2 width I get an error saying to set the …

Member Avatar for rfresh
0
6K
Member Avatar for vuyiswamb

Good Day all i am reluctantly maintaining a Classic Asp application that will be re-written in few months to come. i have an issue where i have a Code like this if(document.frmEntry.optMethod != "undefined") { if (document.frmEntry.optMethod.selectedIndex == 0) { strPrompt=strPrompt+'Please specify the Valuation Method\n'; if ( objFocus == null …

Member Avatar for Airshow
0
173
Member Avatar for jacob21

Hi, By using **group by c3.source**,getting below result. I am trying to add condition in group by clause such that 3 rows should come 1)0+3 source result should merged 50+48 52+75 99+102 2) 4 source result contains ids having source 4 and url like '%daniweb%' source 0_to_7_days 7_to_14_days more_then_15_days 0 …

Member Avatar for Taywin
0
161
Member Avatar for henryz_box

I have an issue with accessing a table in my database after using the truncate command on it. Having to delete the whole database and recreate it not every time but often. The table is used to hold the index of a card and the card's value. This is the …

Member Avatar for henryz_box
0
241
Member Avatar for Biohazardes

Hello everyone, I'm a first year (just finished) software engineer student and i am looking to start making my first game, nothing that complex ofcourse it is meant as a learning experience, however i am incapable of finding any proper tutorials on the use of say OpenGL or DirectX. All …

Member Avatar for Hiroshe
0
191
Member Avatar for sami9356

Does the design pattern play any important role in the development of quality applications by using structured and object oriented paradigm? Justify your answer with logical reasons.

Member Avatar for Schol-R-LEA
0
245
Member Avatar for Anamika15

Program is to find the most frequently used words across all the input files, where each word must appear at least once in each file. How can this be achieved? I am new to java and yet to dig things deep. So trying through such programs.

Member Avatar for JamesCherrill
0
759
Member Avatar for Joemeister

I am working on how to convert a infix to postfix expression and then calculate that converted postfix expression. I have the following thought process on how to do this. 1. Receive a infix expression (Through the main file) 2. Instantiate the variables in this expression through a function called …

Member Avatar for L7Sqr
0
166
Member Avatar for SimonIoa

I have finished creating a website and i want to make an application out of it. I have install eclipse, cordova and done a sample application. Works fine. Any good tutorial on how to connect my database to the application? Or php files?

Member Avatar for peter_budo
0
140
Member Avatar for Wael1988

I have problems in using CustomValidation control, I want to check if year entered in date of birth text field is less than graduation year selected from a drop down list by 20 years. I think using ClientValidationFunction is much better when i tried to use it: <script type="text/javascript"> function …

Member Avatar for h4ng4r18
0
363
Member Avatar for hanspeare_1

Good Day, There's a sticky that TUT about uploading image but i want the restrictions to be in this manner. But my problem here is no notice, no errors but the image file won't upload eventhough the other data has been updated, Here, check my codes. this quite long to …

0
159
Member Avatar for newbie26

please help with the query..I want to have a conditional statement in where clause depending on the result of select Count(*) statement originally my query is: select * from StudentMaster where StudentMaster.StudId = @pStudId and exists (select * from tblFinals where tblFinals.StudId=StudentMaster.StudId) but just today, I realize that user will …

Member Avatar for h4ng4r18
0
146
Member Avatar for DJBirdi

Well, it has recently been bugging me that I have 8 years of working with PHP under my belt and not once have I tried to implement a custom solution to integrate PayPal into any of my ecommerce projects. I've worked with a lot of PCI API's from different providers …

Member Avatar for DJBirdi
0
279
Member Avatar for fx.eko

I tried to create the database connection SQL Server 2008 R2 Express with ODBC connection using TCP / IP After I try the following error appears : Connection failed : SQLState : '01000 ' SQL Server Error : 10060 [ Microsoft ] [ ODBC SQLServer Driver ] [ TCP / …

Member Avatar for h4ng4r18
0
2K
Member Avatar for bsummers

This is my first time using dynamic sql. My goal is to populate a datagrid with a stored procedure that uses a incoming parameter that equals a column name in the table. I have 2 problems. 1. I can get each sql statment to execute independently with the correct results. …

Member Avatar for h4ng4r18
0
142
Member Avatar for dendenny01

Here is the simple program for addition when running in tasm it gives some garbage value and I cannot figure out what is the error hi Please any help will be apperetated Thank you .model small .data opr1 dw 1234h opr2 dw 0100h result dw 001 dup(?),'$' .code mov ax,@data …

Member Avatar for DeanMSands3
0
574
Member Avatar for mwnt2014

Want to show div on front end wordpress website with wordpress plugin.. If User activate the plugin then div should show on the front side of the wordpress .how to add ? Used add_filter('thecontent') and some more. nothing is working .

Member Avatar for mwnt2014
0
256
Member Avatar for Nebil

I have an excel file that i managed to perform some calculation.It's to know the asset value of bridges in a current year.I have 21 fields in the file.Out of the 21 fields,seven fields are just information about the bridge,the rest are used for the calculation based on various conditions.And …

Member Avatar for Nebil
0
224
Member Avatar for vishalcap

hi i am trying to automate one form in selenium using java code. the same codee working fine in firefox but getting error in IE. Started InternetExplorerDriver server (32-bit) 2.42.0.0 Listening on port 10840 Exception in thread "main" org.openqa.selenium.NoSuchElementException: Unable to find element with name == ImpersonateUserId (WARNING: The server …

Member Avatar for JamesCherrill
0
278
Member Avatar for davy_yg

Hello, I am creating an elearning that tries to record date and time and I am looking for an automated system to do that so that the user won't enter any other information: As far as now, I only uses Date Time [ input textbox ] Is there other way …

Member Avatar for Ketul_1
0
268
Member Avatar for rjusman90

<?php session_start(); ?> error_reporting(E_PARSE); include "connection.php"; $User_ID=$_SESSION['UserId']; $query = mysql_query("SELECT * FROM Users WHERE UserID='$User_ID'"); $row = mysql_fetch_array($query); $filename=$row['PicUrl']; $username=$row['UserName']; $fName=$row['FirstName']; if(isset($_SESSION["UserName"])){ if(!empty($filename)){echo '<img src="'.$filename.'" align="left"width="150px" height="100px"/>';} echo $fName; echo"<li><a href='logout.php'>Click here to Logout.</a></li>"; echo"<li><a href='user_update.php'>edit your account detail</li>"; } if(empty($_SESSION['UserName'])){ echo"<li><a href='login.php'>login</a></li>"; echo"<li><a href='register.php'>Sign Up</li>"; } ?> </li> </ul> …

Member Avatar for Ketul_1
0
157
Member Avatar for Priti_P

Hello, I have created sliding fieldsets using javascripts. in it, I have created fieldsets using for loop. Now I want , while I click on NEXT of one fieldset , then whatever input type fields are available on that fieldset , I should get them. I want to store it …

Member Avatar for Airshow
0
290
Member Avatar for ashalatha

how can i delete a record from multiple tables Iam having category id in category table,and in orders table.If iam deleting in that id in category table at a time it should delete in orders table also how can i do this can anyone help me. Thanks in advance

Member Avatar for vishalkr
0
228
Member Avatar for AvinashW

dept (dept_no, dname, loc, mgrcode) emp (emp_no, ename, designation) project (proj_no, proj_name, status) dept. and emp. are related as 1 to many. Project and emp are related as 1 to many. i) Give the names of employees who are working on ‘Blood Bank’ project.`Inline Code Example Here`

Member Avatar for AvinashW
0
150
Member Avatar for marifard

Hi, I make a delete page with php to delete clients from clients table. With this page I try to delete images from gallery table. for example I wish to delete client ABC from clients table and it have three images in gallery table. here under I paste the code …

Member Avatar for Ketul_1
0
160
Member Avatar for Ravi_exact

Hi, I've created new signal , where i specify list and object datatype. dataChanged = QtCore.Signal(list, object) But list and object datatype don't convey properly that what will be in list and in the object. So it would be good if we could declare something like this, dataChanged = QtCore.Signal(lst_employees, …

Member Avatar for Gribouillis
0
303
Member Avatar for Phanindra Reddy

I have got some piece of code to send multiple attachments through mail function in php. The mail with attachment will be sent if there is only one attachment. But mail sending fails if add two or more files in the array. This is my code // array with filenames …

Member Avatar for Phanindra Reddy
0
4K
Member Avatar for sing1006

here is my code for delete Private Sub Button4_Click(sender As Object, e As EventArgs) Handles Button4.Click If MsgBox("Are you sure you want to delete this item?", vbYesNo + vbQuestion, "Delete") = vbNo Then Else If Me.DataGridView1.Rows.Count > 0 Then If Me.DataGridView1.SelectedRows.Count > 0 Then Dim x As Integer = Me.DataGridView1.SelectedRows(0).Cells("FNo").Value …

Member Avatar for sing1006
0
240
Member Avatar for aluhnev

Hi,can you explain the use of **for_each and lambda** in c++11.What are they for,how to use? I have seen a few examples but do not get the meaning.Thank you.

Member Avatar for Hiroshe
0
207
Member Avatar for Kniggles_2

Hi All , am geting this error Parse error: syntax error, unexpected ';' in /home/a2856241/public_html/plus1.php on line 10 whith this code, <?php $con=mysqli_connect("host1","djslim","opensaysme","missionbase1"); // Check connection if (mysqli_connect_errno()) { echo "Failed to connect to MySQL: " . mysqli_connect_error(); } mysqli_query($con,"UPDATE table1 SET score=score+1 WHERE id=['$id'])"; mysqli_close($con); header('Location: ./LaunchControl.php'); exit; ?> …

Member Avatar for Kniggles_2
0
526
Member Avatar for davy_yg

Hello, I wonder why I get this error: Parse error: syntax error, unexpected '&&' (T_BOOLEAN_AND), expecting ')' in C:\xampp\htdocs\squprime\registration1.php on line 65 line 65: if(!empty($stu_fname && $stu_lname && $stu_email && $stu_telp && $stu_skype)){ Thanks before.

Member Avatar for veedeoo
0
2K
Member Avatar for mrvijayakumar

I want to sort four dimensional array based on 0th index by using following method, Here is the code: var main_arr = [ [] ]; var hdnFromValues = [11,16,12,17,14,18,15]; var hdnToValues = [12,17,13,18,15,19,16]; var hdnSPIDs = [11,12,13,14,0,0,0]; var hdnFlag = [D,E,E,D,A,A,A]; for (var j = 0; j < hdnFromValues.length; j++) …

Member Avatar for Airshow
0
311
Member Avatar for v1shwa

Hi, I'm trying to check the format of the string with `preg_match()`. It has to accept only the `(zero or more of ,.* )(exactly 9 or 5 digit number)(1 or more of ,.* )(postive integer <= 4digits)(zero or more of ,.* )` format of strings. Here, is what I tried: …

Member Avatar for diafol
0
209
Member Avatar for V3N0M

Hi everybody I am beginner developer and I was wondering if you store the algorithms lets say on paper or in the computer once you are done solving a problem or do you just wait if a similar problem and jump into solving it again? Thanks!

Member Avatar for Hiroshe
0
128
Member Avatar for covert

Is here anybody knows FORTRAN well? I have a compiler related problem.

Member Avatar for Hiroshe
0
158
Member Avatar for cambalinho

i'm trying to understand some joystick structure: http://msdn.microsoft.com/en-us/library/windows/desktop/dd757112%28v=vs.85%29.aspx but isn't easy. at least these image help me more(joystick layout): https://onedrive.live.com/?cid=C3EF456E15C8DEB6&id=C3EF456E15C8DEB6!1259&v=3 but i need ask more: 1 - the Hat and X and Y coordenates are the same or they can be programmed in separed ways? 2 - i can't find …

Member Avatar for cambalinho
0
138

The End.