199,114 Archived Topics
Remove Filter ![]() | |
Ok, I have all my functions working along with the real_escape_string(). Now I just need to find out WHY the password check isn't working properly. Whenever I try to login with the username: Dyl and the password it was signed up with, it says "Dyl is an existing username, but … | |
hi all, i work for a department store & we sell various product segments under different departments. one of my challenges is to be able to apply the sales per employee system accurately so that when i measure performance levels based on sales contribution per employee each employee will be … | |
Attached is a picture of the database layout I'm talking about. I would like to list out all the shirts in the database along with which categories they are in, and which textures and colors they come in. These are all many to many relationships, and hence the linking tables. … | |
I want to do an old C/C++ trick where I can conditionally define a function. for instance I want to conditionally output a string (debugging) so I can have some outputstring() interspersed in my code. Instead of adding/removing these during development, I want to turn them on/off. Is there a … | |
dear experts i have w big problem, i need to solve it as soon as possible, i have a link to a web site i'm tying to retrieve data from it but unfortunately i have receive an error in vb " The remote server returned an error: (400) Bad Request." … | |
Hi , I have text box and beside to it I have a linkbutton showing the link that is present in the text box. I am getting the URL from the website into the text from database.I need to open the link button in a new browser window. aspx page … | |
please can u tell me wat is that adodb connection.. i am getting error over there....please reply me.. | |
In screen coordinate system i.e top left corner = (0,0) and bottom right corner = (800,600), How can we find the equation of a line given ? Also how the intersection point of this line can be calculated with the screen boundary ? | |
Hi guys, I`m new to web-developing. Curruntly I`m battling with JSP and Databases. I `m using Eclipse as developing environment and I started receiving following error, which doesn`t tell me anythnig: HTTP Status 500 - type Exception report description The server encountered an internal error () that prevented it from … | |
Hi, I want to run some queries in mysql. Also, I want to automate this process. So can someone help me with shell scripting?? I want to open mysql in terminal, type in the password and give some queries.. Can I write a script for d whole thing?? | |
![]() | Hi all, firstly I'm new here and my English is not perfect but I think it is not important :) I have web page where user can upload file. He can select which file to upload with standard HTML input of type file. I want to add this feature: when … |
Brain going mushy, please help! My code: [CODE]$reguser = $_COOKIE['ID_my_site']; function curPageName() { return substr($_SERVER["SCRIPT_NAME"],strrpos($_SERVER["SCRIPT_NAME"],"/")+1); } $currentpage = curPageName(); echo "$currentpage";[/CODE] Connect to the db then: [CODE]$query = ("SELECT rstextresume FROM scuserspro WHERE profilemng = '$currentpage'")or die(mysql_error()); $result = mysql_query($query); if($result == false) { user_error("Query failed: " . mysql_error() . … | |
Hello Forum, I am having trouble retrieving data from a stored procedure that I have set up as a Data Adapter using VB.NET 2005. The Database is SQL Server 2000, and what I am trying to access is a simple Stored Procedure that will validate a users login access. Details: … | |
Hello:) , [CODE] $.each(myOptions, function(val, text) { $('#select').append($('<option></option>').val(val).html(text)); }); [/CODE] how can I add to option links for example to http://google.pl/search?q={text} thx 4 help;) | |
Hi! I have txt file containing something like: User1 123434 User2 435345 User3 234234 User3 234924 Now, i need to delete one user from that txt file, along with number that is after the user so lets say that i entered in delete form: User1 , then i would like … | |
Hello everyone, I'm in the process of learning php in a class and had a quick question for one of my assignments. I am uploading a file to a server which the user can name the directory. However, after they upload the file, I have to give them the option … | |
[ATTACH]15386[/ATTACH] Can somebody pls help. i have two frames. Frame1 contains table and frame2 for the alert setting. Frame has 2 columns. The delta and the alert. The situation is when i set the alert setting to a given value and the delta met it. the alert column (each cell) … | |
Hi All, I'm new to Blog concepts.Is it possible to post the comments to website using the webservice instead of directly post the comments in website. Any help can welcome. | |
I have been trying to read a file, put it in an array and then find the average of the integers in the array. However I am unsuccessful with putting an integer in each slot of an array. When I print qa1[0] I get a long chain of 30 but … | |
Hello, I'm wondering why this command "mov eax, [eax]" changes the content of eax from rubbish to a readable string in the following code: [CODE] ___:004160CB arg_0= dword ptr 4 ___:004160CB ___:004160CB mov eax, [esp+arg_0] ___:004160CF push esi ___:004160D0 mov esi, ecx ___:004160D2 cmp esi, eax ___:004160D4 jnz short loc_4160DA … | |
Hi, I'm currently designing the schema of my database for an application. and there's this table that has a default content or records. i'm torn between what type should i use for its key, because im always using autonumber, i was thinking that because i have a default content for … | |
Welcome everyone Have a big problem in the end this code This code works with one of the chat games networks But it does not appear the Arabic letters But appear in this form ???????????? While the characters appear as English is How can I deal with this situation using … | |
I've always loved games and decided to pick up dev as a new hobby. I'm aiming to do something like Johnny Lee and track head position for a VR display. I've heard it called frustum correction or the "portal effect". [URL="http://www.youtube.com/watch?v=Jd3-eiid-Uw"]Here is a link to see what I'm talking about.[/URL] … | |
AudioTrack sound = audio.createAudioTrack("ringout.wav", false); is giving me the output "WARNING: Unable to locate: ringout.wav" The sound file is in the same project folder that i am using..Anyone knows what i might be doing wrong in here? Thanks a lot. | |
I was looking for a StringBuilder type of thing to use in Python (I've been working in PHP, at work, recently, and cStringIO had momentarily slipped my mind), and found StringIO and cStringIO, but in doing so, I found a post that claimed that they both performed very poorly in … | |
Hi guys, I would like to execute something like this in my program: system("C:\test\perl\a.pl"); But the problem is i need to execute: perl a.pl Can't just execute the a.pl and expect it to run. Any ideas on how i could simply open up the cmd prompt with my program and … | |
I have a table of questions for a survey, each one with its identifying number. I have a form that populates with all the questions (this is not an exact number, as more can be added) but I need to store the results into one field, using arrays, because the … | |
When i was trying to run a program from the IDE, a window pops up which has anagrams as a title and requests me to enter something under "Your Guess" slot? What is happening? | |
I have a vector class that is defined using a template. VS 2010 is underlining every instance of these templates, claiming that the identifier Scalar is undefined. Peculiarly, these errors only occur in the definition of the class I will list first but not the one that inherits it. Here … | |
Hi Daniweb team, I am developing the sample servlet program.This is my sample program. Servlet Code: [code] package org; import java.io.*; import javax.servlet.*; import javax.servlet.http.*; public class HelloWorld extends HttpServlet{ public void doGet(HttpServletRequest req,HttpServletResponse rsp)throws ServletException,IOException{ PrintWriter out=rsp.getWriter(); String type=req.getParameter("type"); if(type==null){ out.print("success"); } else{ out.println("Not a Null value"); } } … | |
I'm new to c++ however, I have been doing C for about a year now so OPP and all its related things are new to me ( classes etc. ), i have the program in C so I'm trying to find a better way to implement it... Thanks in advance … | |
Hey guys, quick question, I'm a beginner and put together a grep script that searches for certain content within text files in a directory. The result yields over 600 lines so i want to put them in a file called file.txt. [CODE]opendir (DIR, ".") or die "$!"; my @files = … | |
Hi! I need some help please! I have to create a DB that has to be normalized to 3NF. I have a table 'Products' that contains info about all the products - product_ID, product_name, quanitity (left in warehouse), procurement_price, sales_price. And I have [B]TWO[/B] more tables that contain info about … | |
I'm trying to use .open() but I'm having an issue with my arguments to this function. Here's my code: [CODE] vector<string> FDT_filename; ifstream is; is.open (FDT_filename[0], ios::binary );[/CODE] Which results in the following error: [CODE] ../sim_main.cpp:297: error: no matching function for call to ‘std::basic_ofstream<char, std::char_traits<char> >::open(std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, const … | |
How would you take an int and make each diget into a array element? For example: [CODE]int num = 12345; int nums[4]; // how ever you enter numbers into the array // would result in: // nums[0] = 1 // nums[1] = 2 // and so on...[/CODE] | |
Warning: Cannot modify header information - headers already sent by (output started at /home/wesleysoccer/webapps/wp/wp-content/themes/infocus/functions.php:1) in /home/wesleysoccer/webapps/wp/wp-login.php on line 302 Warning: Cannot modify header information - headers already sent by (output started at /home/wesleysoccer/webapps/wp/wp-content/themes/infocus/functions.php:1) in /home/wesleysoccer/webapps/wp/wp-login.php on line 314 This is what I'm getting in my wordpress login screen...can't login to … | |
In a nutshell I am trying to write a program that will connect to a database, query several tables for various sets of data that will then be transformed into XML that is stored into a file on the local hard disk. My first thought process to solve this problem … | |
Hi! I try to write my thumbnail creator script, no trouble with image load, resize cut, watermark, etc, but memory handling! File is submitted by simple file form. [CODE]function makeLog($logthis) // this is only for tracking mem usage { $handler=fopen("log.txt","a"); fwrite($handler,$logthis . " \r\n"); fclose($handler); } function handleImgUpload() { $fTName=$_FILES["Filedata"]["tmp_name"]; … | |
Hello, When random generates an output, it cannot show duplicate strings. So for example the output I am getting (randomly) is, "Freddy, Freddy, Jane" when it should be "Freddy, Jane". I have to hardore so I cannot use Sets or ArrayList, Contains or for anything like that. Also no Stringbuilder. … | |
Hi Guys, feel quite stupid with this one, been staring at it for ages. What to combine three tables with the left join sql. keep getting the syntax error in Join operation. [CODE]SELECT SubmittedTeam FROM (NETT LEFT JOIN NETT ON NETT.SubmittedTeam = Team.Team) LEFT JOIN tempDate ON NETT.Date = tempDate.date … | |
Hey guys, I have a splash screen I'm loading here: [code=c#] private void main_Form_Load(object sender, EventArgs e) { //Load Splash Screen this.Hide(); Form_Splash form_Splash = new Form_Splash(); form_Splash.Owner = this; form_Splash.Show(); System.Threading.Thread.Sleep(3000); form_Splash.progressBar_splash.Value = 10; form_Splash.label_Process.Text = "Checking Authentication..."; System.Threading.Thread.Sleep(2000); // Create the context for the principal object. PrincipalContext ctx … | |
I have an XML here as follows, [CODE] <?xml version="1.0" encoding="ISO-8859-1"?> <countries> <country> <text>Norway</text> </country> <country> <text>Sweden</text> </country> <country> <text>France</text> </country> <country> <text>Italy</text> </country> </countries> [/CODE] And, I am trying to sort it without using XSLT, and I am not using this to edit the XML file. I only would … | |
Hi this is my Form , when User fill form and by mistake he click on back button. I want when he open it next time all values be there, so he cant type again [CODE]<form name="form1" method="post" action="checklogin.php"> <input name="myusername" type="text" value="Enter Your Username"onfocus="this.value=''" /> <input name="mypassword" type="password" id="mypassword" … | |
Hi everyone, I am having a lot of trouble with this... I am using PHP/MySQL. What I have is a dating website. One of the tables in the database is called "users" which has many fields in it, storing the usual info (id, name, email, etc). What I want to … | |
I am working on a Joomla Website and Have Installed Jomsocial however I keep getting some syntax errors. The files and folders are exactly where they are supposed to be I believe its just the code and I cant see it. below is where my errors are said to be... … | |
Hi I am inserting the following stirn in databse but its giving me error the string is " L'Oreal assures us "You're worth it"." now because i have single ' after L and then " and then again single ' its giving me error at L'Oreal.Can anyone help me with … | |
[CODE] OleDbCommand saveCmd = new OleDbCommand("INSERT INTO rapor (Proje_Adi, Proje_Tanimi, Proje_Sorumlusu, Kim_Verdi, Toplam_Sure, Sure_AsildiMi, Asilma_Sebepleri, Notlar, Baslangic_Tarihi, Bitis_Tarihi) VALUES ('" + adbox.Text + "','" + tanimbox.Text + "','" + comboBox1.Text + "','" + kimbox.Text + "','" + surebox.Text + "','" + checkBox1.Text + "','" + sebepbox.Text + "','" + notbox.Text … | |
Hi First of all, I apologise if I'm not posting in the correct place - I'll gladly ask elsewhere if deemed necessary. I've got a reasonable amount of experience with HTML and CSS and so far have only ever built websites that I know I'll be maintaining. So although updates … | |
I am trying to open other page and pass data for selected row in gridview to be displayed in that page when user click the select button. i want to display the data in text box. so that, user can make editing from that page. i dont know how to … |
The End.