199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for tunde011

posts on my site are usually like this [url]www.mysite.com/detail.php?topic=899[/url] the user post $name, $email, $comment there is an hidden field $hidden After success posting comment i want it to send an email to their email saying blah blah... In the email, i want to include the hidden field so i …

Member Avatar for tunde011
0
489
Member Avatar for Morty222

I am trying to group a list of event dates by their ending date. So if I have 15 events that end on the same date, I want all of those tr bgcolors to be red, then the next group, lets say 8 events all end on the same date, …

Member Avatar for wrivera
0
78
Member Avatar for vlady

hello, Pls can anybody help me with a folloving exercise? (I must say that I am really beginer in this field, learning by myself and with daniweb (if sb gives me help)) Pompt the user to enter a string of forbidden letters and also to enter a words. Make a …

Member Avatar for vlady
0
130
Member Avatar for lardshow

Hi all please can someone help? i have to create an exception class (which i think i've done) and then throw it from some helper methods. i've tried allsorts to get this exception to work, and i just cant see what i'm doing wrong.... as this is an assignment i …

Member Avatar for JamesCherrill
0
109
Member Avatar for nate22

I'm not good with AJAX but am trying to learn for this project. I've picked apart many galleries, some of which are kind of similar to this idea, but surprisingly I haven't found one that is actually just like this... [IMG]http://www.22graphics.com/slideshow-concept.jpg[/IMG] In case above image isn't loading or right side …

Member Avatar for nate22
0
95
Member Avatar for SaintDK

hello guys, i'm just fooling around with vb 2008, and i thought i'd try to make a simple anti virus. my problem is that it only detects and deletes one of the files, i know it's because i use else if, but i don't know what else to use ? …

Member Avatar for SaintDK
0
71
Member Avatar for desiguru

I have a database in which my parent_id same for many rows. So I wanted to write a code which groups all similar images in a paragraph. How can I do this.

Member Avatar for almostbob
0
86
Member Avatar for veledrom

Hi, When i try to restore a database, I get this error [CODE] ubuntu@ubuntu:~$ mysql -u root Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 44 Server version: 5.0.75-0ubuntu10.2 (Ubuntu) Type 'help;' or '\h' for help. Type '\c' to clear the buffer. …

Member Avatar for veledrom
0
135
Member Avatar for K?!

I'd like to know if there is an alternative to "this" and "super" from Java in PHP. Greets, K?!

Member Avatar for wrivera
0
181
Member Avatar for bhanu1225
Member Avatar for bhanu1225
0
85
Member Avatar for stangn99

Any idea how I can do this? This is what I tried, and it doesn't work: [CODE] $query="SELECT bookingdata.*, users.* FROM bookingdata, users WHERE bookingdata.userid = users.userid"; $sql=mysql_query($query); while ($row = mysql_fetch_array($sql)) { $id=$row['id']; $userid=$row['userid']; $bookingdata=$row['bdate'];......etc. etc. } ?>[/CODE]

Member Avatar for diafol
0
90
Member Avatar for CppBuilder2006

when a window is not active (eg it is minimized, hidden, or under other windows) it does not receive mouse click messages. I am going to write a program that produces a few circular waves around mouse pointer whenever the user clicks. my program is always hidden & so it …

Member Avatar for CppBuilder2006
0
253
Member Avatar for cableguy31

I'm working on a contact form. I have the form being checked by a PHP script once it's submitted. If the script finds an error, it will load a new page with the error message and then redirect back to the form after 10 seconds so the user can correct …

Member Avatar for almostbob
0
222
Member Avatar for SgtMe

Hi everyone! I would like to make an Air Hockey game in pygame. I was wondering if it was possible to have 'proper' bouncing (ie. the puck goes in a direction relative to the angle the paddle hit it in). I can easily write the rest of the code. Thank …

Member Avatar for SgtMe
0
1K
Member Avatar for bcheath_1

I am in the process of developing an MDI application in VB.NET (2005). Anyway, my child form refuses to center the parent forms' bounds. I have tried setting the 'startposition' via the properties menu. I have also tried setting the 'startposition' with code in the parent form's load procedure. Here …

Member Avatar for Mortimern
0
743
Member Avatar for bonnysammy

Hi, all. I was wondering if you could help me. I was wondering why all controls seem to put extra space around them. If I look at the control in the design window, the area is all red. Is there a way to prevent this? I mean, all I want …

Member Avatar for jonsca
0
87
Member Avatar for threat

first of all i'm a newbie to databases and particularly mysql. i downloaded and installled mysql community server and mysql gui tools. now i want to create a local database and access it through mysql gui tools. please, give me detailed guide for it.

Member Avatar for threat
0
109
Member Avatar for coolfriend

Plan and code a guessing and betting number game, as described by the text below and the sample output but do not write any functions (other than main). An appropriate welcome message with your name in it should be shown at the start of the program. The user starts with …

Member Avatar for Nick Evan
0
87
Member Avatar for silayse

added checkbox on gridview this method: [CODE]<asp:TemplateField> < ItemTemplate> < asp:CheckBox runat="server" ID="CheckBox1" /> </ ItemTemplate> [/CODE] I want to save selected values another table but I did not achive.First I try this code and then I will convert this delete statement to select statement ,it deletes checked value but …

Member Avatar for silayse
0
127
Member Avatar for bdrkb

Hi I would Like to set my vb form caption from database can do this pls help me urgently

Member Avatar for QVeen72
0
68
Member Avatar for JPDobner

Hi, My code compiles and runs but the GUI will not display. I have tinkered with it but cannot get it to come up. Someone said I may be miscalling my GUI in this code, help? Thank you. [CODE]import javax.swing.*; import java.awt.event.*; public class Application_MainRunInv extends JFrame { private JTextArea …

Member Avatar for JamesCherrill
0
121
Member Avatar for Ana D.

Hi, In my page I have a GridView in which I have an Item Template with a label and Edit Template with a DropDownList. Something like this: [CODE]<asp:GridView ID="MyGridView" runat="server" OnPageIndexChanging="MyGridView_PageIndexChanging" DataKeyNames="Id" OnRowEditing="MyGridView_RowEditing"> <Columns> <asp:TemplateField HeaderText="Use" ItemStyle-Width="140px" ItemStyle-HorizontalAlign="Center"> <ItemTemplate> <asp:Label ID="UseLabel" runat="server" Text='<%#Eval("ImageUse")%>' /> </ItemTemplate> <EditItemTemplate> <asp:DropDownList ID="UseDropDownList" runat="server" OnDataBinding="UseDropDownList_DataBinding" …

Member Avatar for Ana D.
0
115
Member Avatar for genieuk

Hello, I was going to post the full script but don't think it will ne needed. Basically i have this query: [CODE]// query db $query = mysql_query("SELECT * FROM `userinformation` WHERE `username` LIKE '%$search%' OR `email` LIKE '%$search%' OR `id` LIKE '%$search%' OR `first_name` LIKE '%$search%' OR `last_name` LIKE '%$search%' …

Member Avatar for Atli
0
248
Member Avatar for charlottetemp

Not sure what I've done wrong here tried lots of alternative combinations and not sure why this logic doesn't work! Im pretty sure it has something to do with the parameter not reading as the results inputted aren't going through the loop. Any help would be appreciated! The idea of …

Member Avatar for charlottetemp
0
106
Member Avatar for m_sam6
Member Avatar for AbhikGhosh
0
3K
Member Avatar for Zagga

Hi folks, I'm having a real "Dime Bar" moment! :-/ I have written a small function to display error messages. I can't work out why I have to use a preceeding slash to include my footer.php but not my header.php when they are both in the same directory. [CODE=php] function …

Member Avatar for Zagga
0
116
Member Avatar for Venom Rush

Hi all I'd like to know how/if you can pause a loop for a few seconds and let it start again from where it stopped.

Member Avatar for Venom Rush
0
74
Member Avatar for cane23

i am trying to use the explode function to take a variable as the string under consideratiom but its not working. can some one help me on this one please?? thanks [code] <?php $hostname = "localhost"; $username = "root"; $password = "hayden"; $database = "ecng3020"; $con = mysql_connect("$hostname","$username","$password"); if (!$con) …

Member Avatar for nav33n
0
85
Member Avatar for sleaze

Im currently working on a project where i need to read a text file containing a list of users and let it be stored in a database. Here is my text file: headers(ID number, LastName, FirstName, MiddleInitial,Course and Year): 2070939 Carter, Billy Joe K. BSIT 4 2070123 Daniel, Michael Ericson …

Member Avatar for ~s.o.s~
0
188
Member Avatar for bords

Hello everyone....how could i make my database be in my exe project if im going to make my project a setup one...? what i mean if im going to acess my database (MS Access), there is a path of that database(depending where did i save it) in my code in …

Member Avatar for bords
0
96
Member Avatar for lewashby

I posted a thread labeled pygame, global name "glob" but am unable to resolve the issue so I was just going to ask a few question about the code. Well first of all, I ran it on Windows Vista, python 2.6 and pygame, but I'M not sure what version of …

Member Avatar for vegaseat
0
148
Member Avatar for Donnovan

hey guys, i'm trying to acces the the member of my person structure, can someone help me, what am i doing wrong are what am i forgetting [CODE]#include <stdio.h> #include <stdlib.h> typedef struct { char *vnaam; char *anaam; int leeftijd; } persoon; persoon *q, p1; //char antwoord2b[128]; void drukaf(persoon p){ …

Member Avatar for Donnovan
0
111
Member Avatar for OzY360

I'm having trouble getting the program to loop back to the menu once I have created a new computer/customer. Once I figure it out I can do it for all the functions in the menu. This program is not yet complete but any guidance as to why my program won't …

Member Avatar for OzY360
0
1K
Member Avatar for Evil Genius

Hi, I'm working on this Project. and I'm trying to use a Slide bar instead of just showing radio buttons [CODE]http://www.imgcentre.com/images/view/9dde627466.png[/CODE] I'm trying to replace them with a Slider bar and some how show the value (1 - 100) so, can someone please tell me how can I .... ? …

Member Avatar for Evil Genius
0
115
Member Avatar for beforetheyknew

Hi guys just wanted some clarification on two issues. Nested Loops, I just want to clarify how i should read these for example: [CODE] public void nestedForLoop() { int i = 0; int j = 0; for (i = 0; i < 10; i++) { for (j = 0; j …

Member Avatar for darkagn
0
112
Member Avatar for sam023

i want to convert hexa to string in php... i google and and got this function... [code=php] function hexToStr($hex) { $string=''; for ($i=0; $i < strlen($hex)-1; $i+=2) { $string .= chr(hexdec($hex[$i].$hex[$i+1])); } return $string; } [/code] it works but not in case of " 062E063506450020003500300030002E0030003000300020004B005700440020064506460020062D06330627062800200032003500380038062706440645062A06280642064A00200031002C003400320031002E0036003100320020004B005700440020062706440645062A06480641063100200031002C003400320031002E0036003100320020004B00570044 " kingly guide me little …

Member Avatar for digital-ether
0
139
Member Avatar for beforetheyknew

Hi guys do you know of any sites where i can go through some java questions in preparation for a java exam. In the sort of style for example where you are provided a for loop and which isn't in the normal format and then asks you what would x …

Member Avatar for beforetheyknew
0
103
Member Avatar for CFROG

I'm having some trouble validating radio groups. I thought this would be simple enough but it's not turning out that way. The form is rather long so I have it broken down into sections, each in it's own div. The form shows the first 11 inputs and when you click …

Member Avatar for eliza81
0
100
Member Avatar for ibackus

I'm trying to write a very simple program to print out in the terminal the first 10 entries in a long binary file composed of floats. The idea is to make this work something like 'head' in the linux terminal (but for binary files). The problem I have is I …

Member Avatar for ibackus
0
141
Member Avatar for mostafanageeb

I am now making the huffman algorithm. I have generated the tree but I cannot generate the codes.. please if anyone can help tell me how? [B]This is the class Node[/B] [CODE] public class Node { private Node left=null; private Node right = null; private Node parent = null; boolean …

Member Avatar for hasanabada
0
110
Member Avatar for gingerfish

hello guys, could you please explain me when do we use these: int[][], double[][], float[][]? i mean, why there are two brackets "[]"? thanks

Member Avatar for gingerfish
0
64
Member Avatar for Lightninghawk

I am starting on a next to impossible journey to build a database with many records and with relational databases at a later date possibly. The primary database I am going to build will have approximately 10 million records in it. Each record will have 75 - 100 items of …

Member Avatar for debasisdas
0
172
Member Avatar for DIPY

Hi, I want to do something like this. I have a file File.c File.c # include <stdio.h> -------------------------->here struct B and its parameters should be inserted when i get it on next iteration. typedef Struct { B b1; --->this struct i will get on next iteration. }A; I am writing …

Member Avatar for sknake
0
140
Member Avatar for srbatcha

Hi i am doing one project in vb6.0 with ms-access 2003 database. i want bulk data updatation in one table from excel sheet. is possible , if possible pls give me a good solution. my table name : segment transaction its contain more then 20 columns , my updatation for …

Member Avatar for debasisdas
0
260
Member Avatar for Tess James

When viewed in IE8, my web pages have some alignment issues. Even if I give the CSS style property text-align:center, the text is rendered as left aligned in IE8. Any Solutions??

Member Avatar for Tess James
0
67
Member Avatar for capiono

I was wondering if it was possible to this: example [CODE] if exists(Select * From table) select item from table set returnValue = 1 Else set returnValue = 0 [/CODE] Or if there any other way of doing this this

Member Avatar for mail2saion
0
189
Member Avatar for omotoyosi

Hello All, Please i have a javascript to Open a Look up table but it works only if it is clicked twice. What do i do, i want the user to only click once for the lookup page to come up.

Member Avatar for omotoyosi
0
86
Member Avatar for muralibobby2015

i am getting this error but i think there is no error. any one look at this [CODE]$affiliateForm = array( "username"=&gt;array("User Name","text",""), "password"=&gt;array("Password","password",""), "site"=&gt;array("Your Web Site","text","http://"), "email"=&gt;array("Your Email","text","yourname@yoursite.com"), "akey"=&gt;array("","hidden",""), "ptype"=&gt;array("Payment Method","select","check|paypal"), "pemail"=&gt;array("Paypal Email","text",""), "address"=&gt;array("Your Address","textarea","") );[/CODE] i am getting [B]Parse error: parse error, unexpected '=', expecting ')' [/B] on this …

Member Avatar for pritaeas
0
73
Member Avatar for GyanPP
Member Avatar for GyanPP
0
147
Member Avatar for sL@Y3R_WiLLRocK

I'm doing a game using DirectX 9. My game has top-down view. I loaded two texture files(*.png image). One is the background and over that is the character. I've given up, down, left, right movements for my character. The program runs fine, showing the char and its movement over the …

Member Avatar for sL@Y3R_WiLLRocK
0
118

The End.