Downloading thread code. Programming Software Development by Gribouillis …;reply%d"%n ) def doDownload (o ): for theReply ,theAuthor ,theCode in o .itsTriples : theFolder =o .itsReplyFolder (theReply ) if theReply >… o .isInCode =False o .itsTriples .append ((o .itsAnswer ,o .itsAuthor ,theCode )) def send_flowing_data (o ,data ): if o .nextIsNumber : o .itsAnswer =int… SQL Query Not Working.. Programming Databases by Cuchara2 …;sent" table has exactly the same value as "thecode" in boxes. [CODE]$hount = mysql_num_rows(mysql_query("SELECT theid…='$themsg'"); $check2 = mysql_query("SELECT thenum FROM boxes WHERE thecode='$check1'"); if ($hount == "1") { if ($check2 = $thenumbar… Problem with JS captcha-checking Programming Web Development by Jeroen van Zijp …;notValid"); valid = false; } } } function checkcode(thecode) { http.open("GET", url + escape(thecode), true); http.onreadystatechange = useHttpResponse; http.send(null… Assembler 64 bit masm palindrome program, help with cmp Programming Software Development by reloadmvp … dec rsi loop next_char is_Palindrome: ; print out "Palindrome!" ;**thecode below is how I was trying to print out my… , rax jmp end not_Palindrome: ; print out "Not Palindrome!" ;**thecode below is how I was trying to print out my… Multi-line String don&#39;t write properly to files on Windows Programming Web Development by timetraveller1992 …;; $dbname = "code"; $code = <<< THECODE ; This is the main configuration file for your web app…dbconfig] hostname = $hostname username = $username password = $password databasename = $dbname THECODE; $fp = @fopen('config.ini','w') or die_message("Could not… applet help! Programming Software Development by oali … image and without the image the browser shows the applet, thecode for the applet is below; [code] import javax.swing.*; import… Generate a value depending on algorith Programming Web Development by coleguitajuan Hi all! Im trying to creat thecode for save a value into a variable ($sales_code) formed per 2 letters (VW, DF, RK or DI) depending on this algorithm: 79% of the time it's VW, 7% of the time it's DF, 7% of the time it's RK, 7% of the time it's DI. could you give me a hand on this? Thanks in advance! Daniel sending pointer to function Programming Software Development by poojabi … pointer.why i cant send p as a parameter. then thecode will be like this main() { struct node *p; function(p… php Programming Web Development by bhuvi_2 … which is in database of xampp(phpmyadmin)can anyone add thecode for it <?php $user = 'root'; $pass = ''; $db = 'testdb'; $db… Re: Typecasting enumerated type Programming Software Development by VernonDozier …;"; } public PacketException (int theCode) { this.theCode = toExceptionCode (theCode); this.message = ""; } public PacketException (String message, int theCode) { this.theCode = toExceptionCode (theCode); this.message = message… Re: Forum code Programming Software Development by jwenting [code] public class TheCode { } [/code] There you go, The Code. Re: find a solution to display data in dropdown from database using java Programming Software Development by masijade [code] public class TheCode { public void getDataFromDB(Dropdown b) { b.populateList(); } } [/code] Re: how to write java program which sholuld be able to send sms messages to mobile Programming Software Development by sandeepsrikanth hi i want to write a c program to obtain output as tajmahal figure.and it should be obtained as in the form of drawing with dots (as pencil pointing dots) to draw tajamahal.i tried it but i can't.can anyone please help me and suggest me to how to write thecode Re: moving a form with no border Programming Software Development by serverstatus … you eed change i'mprograming a clock an labels arein thecode to change code you use only mouse down mouse etc… Re: I was trying to print the calendar of this year in java. Programming Software Development by pooran.c I have changed the code now thecode is priting according to the input of the user [CODE]… Re: Looking for guidance on a coursework problem Programming Software Development by phorce …. Ok, here's an example (Not compiled): void setCode(int theCode) { } void setPrice(float thePrice) { } void setStock(int theStock) { } void setProductName… Re: Help, My DB do not insert more then three record. Programming Web Development by adeeb.keyaam if i write thecode below then its insert records to database but if i try to insert another field then it shows the error, i am really confused with this... mysql_query("INSERT INTO users (id, name, password) VALUES (null, '$name', '$password')") or die (mysql_error()); Re: Remove Duplicate while importing csv to mysql using php Programming Web Development by bhuvi_2 … which is in database of xampp(phpmyadmin)can anyone add thecode for it <?php $user = 'root'; $pass = ''; $db = 'testdb'; $db… Re: SQL Query Not Working.. Programming Databases by smantscheff I did not study the code thoroughly, but noticed this assignment [CODE]if ($check2 = $thenumbar)[/CODE] which should probably be a comparison instead [CODE]if ($check2 == $thenumbar)[/CODE] Re: SQL Query Not Working.. Programming Databases by Cuchara2 I looked through again and fixed some silly mistakes like that (there were two in total) and now $thenumbar is being received correctly. The code still doesn't work however :( Re: SQL Query Not Working.. Programming Databases by smantscheff $check2 is a handle to the mysql query, AKA resource. You have to retrieve the rows from this resource with mysql_fetch_array or mysql_fetch_object or similar functions before you can use the column values. Re: Assembler 64 bit masm palindrome program, help with cmp Programming Software Development by reloadmvp This should actually be coded in Yasm Haha, I have no idea what im doing here Re: Assembler 64 bit masm palindrome program, help with cmp Programming Software Development by turboscrew lea rdi, [s] ;moves first characters of s into rdi, if s is 64-bit aligned. otherwise crashes Maybe you meant to load the address of the first string byte into rdi? Re: Multi-line String don&#39;t write properly to files on Windows Programming Web Development by Lsmjudoka A note about PHP_EOL, it sets the line endings to what is correct for the current server, not necessarily the client computer. Meaning if you're on a windows computer and you view a file with PHP_EOL line endings generated from a Linux server, it'll all be on the same line. EDIT: As you found a code that works during time I was writing this, I … Re: applet help! Programming Software Development by madhavipoudala hi, write the html code in the java itself and keep it in the comment lines,and see the image it is there or not for this particular task only , i am speaking. and compile as usual as `javac filename.java` and excute as `appletviewer filename.java(labels2.java)`. import javax.swing.*; import java.awt.*; public class… Re: Generate a value depending on algorith Programming Web Development by Menster [icode] $value = intval(rand(1, 100)); if ($value < 80) { $sales_code = 'VW'; } else if (($value > 79) && ($value <= 86)) { $sales_code = 'DF'; } else if (($value > 86) && ($value <= 93)) { $sales_code = 'RK'; } else if (($value > 93) && ($value <= 100)) { $sales_code = 'DI'; } [/icode] Hi there, hope … Re: Generate a value depending on algorith Programming Web Development by Airshow Depending on what input Coleguitajuan? [B]Airshow[/B] Re: Generate a value depending on algorith Programming Web Development by coleguitajuan Menster, that is what needed, thank you! you rock! Re: Generate a value depending on algorith Programming Web Development by coleguitajuan Hi Menster, Rand does not guarantee not to repeat a value twice during a 100 number sequence, so there is any other logic instead of using Rand ? Thanks for your support Re: Generate a value depending on algorith Programming Web Development by coleguitajuan Can you guyshave a solution without using the rand function?? thanks you!