199,114 Archived Topics
Remove Filter ![]() | |
![]() | Hello all, I have a drop down that is populated using php and mysql. when the user makes a selection, I run the function showUser(), however, nothing happens when i make a selection, can anyone help with what I'm doing wrong? The JS [CODE] <script type="text/javascript"> function showUser(str) { if … |
i was wondering how can database replication on a sql server be accomplished? | |
hi everyone got a problem with the pp api... basically i have a return url that gets 2 fields from the pp form.. custom and mc_gross. the problem im having is that when pp redirects to this function, it first goes to a page stating its going to redirect in … | |
Hi, I am looping the data and displaying it from the database. But only one data set is displaying in the loop. I dont now where i am doing wrong. Here is my code. Please help me $resultViewed = $this->model_report_product->getMostViewed(); $stringResult ="var data= google.visualization.arrayToDataTable([ ['Product', 'Views'],"; foreach($resultViewed as $results) { … | |
how to keep a certain form always behind other forms | |
i want that after validation of form with ajax it will be redirect on another page but my coding is showing result in specfic div id=result . i am getting result on index.php which coding is following <div class="c_right"> <div> <div class="t_h_c"> Hi Guest </div> <div id="result" class="error"> </div> <div … ![]() | |
Hello, How to show search results from Database **WITHOUT** Gridview. I am making property dealing site in which when user seraches the property the results should come on the webform **not** in a gridview control How can i acheive this??? | |
So I'm uploading multiple images to a folder and inserting the images information to a database. The upload and insert is working great but the loop is running twice for each file and adding the information into the databse twice. I am unsure as to why this is happening. Please … | |
I'm new to PHP and currently i face some problem in error as below Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING Below are my code. Appreciate if someone can help to point out the error and some suggestion Thanks a lot!! while($row = mysqli_fetch_array($result)) { … | |
IN ORACLE 10G I CREATED A TABLE AND INSERTED 3 ROWS AND COLOUMNS.NOW MY DOUBT IS WHERE THE DATABASE FILE WILL BE STORED????THE REASON WHY IAM ASKING IS BCOZ IT MAY NEED FOR JAVA CONNECTIVITY | |
Hi, I've got an XML file that I need to make changes to before creating an output XML file. I've got an XSLT Transform file which does part of the job fine, but I'm needing to go one step further which is where I'm struggling. In C# I'm using an … | |
Hi, How do you delete a newline character that is inside a VB string? Apparently Trim removes only spaces. Thanks in Advance. | |
I want to have a list of months and years when content was posted to my website. Example: /// **Archive** *July 2012 June 2012 May 2012 April 2012* /// Then, clicking one of list items takes you to a page with every post from that month. I know I should … | |
hi all, i just want to ask if its possible to have a two or even more database connection in a php run application like db_connect---db1 fetch data db_connect--db2 fetch data db_close --db2 if its not possible. how can i get data from other database table appriciate youre answers. ![]() | |
help i'm rather new at this but have some understanding but am having some probs with 1>c:\users\kysinden\documents\visual studio 2008\projects\real\real\test.cpp(8) : error C2144: syntax error : 'int' should be preceded by ';' 1>c:\users\kysinden\documents\visual studio 2008\projects\real\real\test.cpp(9) : error C2447: '{' : missing function header (old-style formal list?) i am makeing an number … | |
Hi Guys I am currently working on an image upload script. i want to log user upload and record their ips. I worked on a script(its works) but i am not sure if it will be 100% reliable. Here is code that i though of <?php $ip = $_SERVER['REMOTE_ADDR']; $filename … | |
I am trying to format my text firlds so that if the user inputs letters or somethings improper, it will display an error message and ask the user to retry entering the number. i am not quite sure where to start with this part. i have the calculator code working … | |
![]() | Hi, I'm having an trouble trying to printf the string. <?php $product_name = "pencils"; $product_price= 7.99; printf( "Product %f will cost %1.1f dollars.", $product_name, $product_price ); ?> The answer should look like this **Product pencils will cost $7.99 dollars** but instead it looks like this **Product 0.000000 will cost 8.0 … |
My question requires a little background first: I'm working on a Web project where there are four theatres owned by a single company, so not only will the four theatres each need their own Website (each with its own unique branding), but the umbrella company will need one as well. … | |
Hi all! Qick question, I have this variable below and I'm wondering if it's possible to Exchange the text in <th>Totalt</th> with a varible instead i.e. <th>$Totalt</th>? I couldn't figure it out? :-/ $table1 = "<div id=\"container\"><table id=\"table-3\" cellspacing=\"0\"><thead><tr><th>Totalt</th><th>Totalt</th><th>Benchmark</th><th>Differans</th></tr></thead><tbody>"; Should be simple enough, right... Peace Adam | |
I have a sample question,can i return a Jframe in a method defined in a jaxws webservice implementation class.if soo give me steps simple steps onlt or keywords, i ve tried for example: import java.awt.*; import javax.jws.WebService; import javax.jws.WebMethod; @WebService(serviceName="frameService", portName="framePort", name="frame",wsdlLocation = "WEB-INF/primary.wsdl") @BindingType(value=javax.xml.ws.soap.SOAPBinding.SOAP11HTTP_MTOM_BINDING) public class frameserver implements Serializable{ … | |
![]() | For a mobile application development project what would be the best data communication technology ? is it web service project is better or WCF application project ? any clear reasons are also welcome Thanks Sanjeewa ![]() |
Hi, I am a newbie in C#. I am trying to read a text file line by line (each line has fixed length of 128 numerical values). Text file has more than 300 lines. Now i want to select and copy each line after 5 lines (i.e., interval = 5 … | |
i am new please guide me how can i take input from user in java. i did java from lot of time ago now i am starting learn again i did learn take input from user by this, there is a statement to write input from user first we initialize … | |
HI all in Daniweb. I have a problem here. I wanted to create a desktop database application using Java DB Embedded. What is the problem here i try creating a frame from scratch and want to connect to the database. I have create a connection to the database. it was … | |
**hello evrey one i have problem,,,,, i want transfer data from textboxes to MsfilxGrid when i press a command1 ?? and when i finish iwant to save data from MsfilxGrid to database ?? when i press a command2 in VB6 ** | |
what should i write in the body tag so background image does not repeat?? <body background="images/red-and-black-powerpoint-template.jpg"> | |
Hey everyone, I'm trying to code a webform to allow people to input data on several objects in a database. I'd like to have them be able to click an update button for each item they want to update, popup a box for the value, and pass that value to … | |
Hi. I'm currently developing a CRM in ASP.NET 4.0. It has a database connection that resides on a separate computer. The development and dev-hosting of the site is done locally. Until yesterday everything worked almost flawlessly (except for those part I'm working on), but suddenly all postbacks and redirects slowed … | |
Hi friend, i am trying to learn ASP but i face problem to connect ASP wtih SQL Server. Anyone help me. Sushil .. | |
Hello, anyone can help me with how to build a simple user registration form using Rails from scratch, with the fields Login Name, Name, Address and Password (encrypted)? I will be using MySQL to host the database. I've already created the new project using: rails new reg_form, now what next?? | |
hi, i am doing a project using C#. i am new to this area. the task is to extract the zip or rar file using C#. in my windows form have a text box and button in the form. i will give the zip or rar file. when i click … | |
I am trying to check for a palindrome. I keep getting errors when reaching the first if statement. I feel it is because i returns as a letter and not the position number in the string. What am I missing? def palindrome(str): s=(str) sum=len(s) l=int(sum/2) for i in s[0:l]: if … | |
RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ $1.php [L,QSA] This works when i am typing in the url like www.anything.com/home, but when i click one of the link of the webpage i created, it shows the .php extension. Please Help!!! | |
how to delete duplicate record in a table by using SQL query | |
Hi guyz, I'm just wondering if it's possible to add the mouse when capturing the screen or monitor in vb.net? because I'm doing a project that would record the screen and I'm actually successfull doing that by capturing the screen and include it in a timer, but my only problem … | |
I am trying to grab the string/object from the treeview. So when a user click on any item in the treeview, I can show it on the terminal. ANy help is appreciated.Here is the code. QtCore.QObject.connect(self.treeWidget, QtCore.SIGNAL("clicked(QModelIndex)"), self.treefunction) def treefunction(self, index): print index Output on clicking the item in treeview … | |
I am trying to alter the voice in a DirectSS Text to speech control. I am able to make the control speak. "DirectSS1.speak (Label1.caption) 'This reads the words from a text box" Going on the above how do I change the voice. The other properties I am playing with as … | |
If My.Forms.Main_frm.UseProxy.Checked = True Then My.Forms.Main_frm.IPBindingTextbox.Enabled = True My.Forms.Main_frm.ProxyIPTextbox.Enabled = True My.Forms.Main_frm.SocksV4.Enabled = True My.Forms.Main_frm.SocksV5.Enabled = True My.Forms.Main_frm.ProxyUser.Enabled = True My.Forms.Main_frm.ProxyPw.Enabled = True ElseIf My.Forms.Main_frm.UseProxy.Checked = False Then My.Forms.Main_frm.IPBindingTextbox.Enabled = False My.Forms.Main_frm.ProxyIPTextbox.Enabled = False My.Forms.Main_frm.SocksV4.Enabled = False My.Forms.Main_frm.SocksV5.Enabled = False My.Forms.Main_frm.ProxyUser.Enabled = False My.Forms.Main_frm.ProxyPw.Enabled = False End If Is there … | |
This is homework. I am trying to implement a Dictionary ADT using a hash-table with a closed addressing scheme. The problem is that I'm required to make a hash table of Word classes. How can I do this? The class has to be templated. Here is what I have so … | |
Many companies normally charge a shipping and handling charge for purchases. Create a Web page that allows a user to enter a purchase price into a text box and includes a JavaScript function that calculates shipping and handling. Add functionality to the script that adds a minimum shipping and handling … | |
I'm having difficulties writing the rpc function. Specifically, I don't know how to pack a function name and input argument into a message body, send the message, set and unpack reply, and return result and error code. I know how to create the socket, request aconnection from the server etc. … | |
Hi, I am looking for some help in adding a calendar to a form that i am building. Its much like a calendar when you book air tickets.. click on a calendar like icon and a pop up window opens select date year and month the details get into the … | |
hi need to show the duplicates on a column table when they have two other values in common on other column. form_name + field_value name1 | value_x name2 | value_y how can i create the query to search when values x, y, etc have form_name name1 and name2 ? thanks | |
***My tnsNames.Ora File -*** XE = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = Sonia-PC)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE) ) ) EXTPROC_CONNECTION_DATA = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1)) ) (CONNECT_DATA = (SID = PLSExtProc) (PRESENTATION = RO) ) … | |
I know it's a bad practice to post the same question on more than one help site (I posted it on Stackoverflow, but after some time your question loses its place on the "active" list and people stop reading it) but I'm really desperate here. So my question is: I … | |
hey everyone - I'm trying to figure out how to call the appropriate httpPost methods for a particular jtable instance? I thought it was specified by the actions in the javascript, but I can't figure it out. Can anyone give me a hand? Here's my script and the httpPost method … | |
calculate and display the square root of each value in NumArray then store it in an array called SquareNumArray. hi guys what is wrong with this code? #include <stdio.h> int main() { int numArrays[] = {2, 67, 23, 5, 7, 34, 14, 4, 8, 62}; int SqareNumArray[]; int i; for(i=0; … | |
calculate and display the average of all even values . #include<stdio.h> int main() { int numArrays[] = {2, 67, 23, 5, 7, 34, 14, 4, 8, 62}; int i, sum=0, ave=0; for(i=1; i<10; i++) { if(numArray[i]%2==0) printf("%d", numArray[a]); total+=numArray[a]; sum=sum+total; printf("the total of all even number is; %d", sum); } … | |
calculate and display the average of all even values . #include<stdio.h> int main() { int numArrays[] = {2, 67, 23, 5, 7, 34, 14, 4, 8, 62}; int i, sum=0, double ave=0; for(i=1; i<10; i++) { if(numArray[i]%2==0) { printf("%d", numArray[a]); total+=numArray[a]; } { sum=sum+total; printf("the total of all even number … |
The End.