No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
16 Posted Topics
Hi, I need just simple help. Could you just give me a tip for some good TCP server/client library for Csharp? It should be easy to use, and can handle big data size. Because I was using a Netcomm library, and while sending Image bytes, It has god frozen. Thanks … | |
Re: Can you please provide your mysql query? It looks fine I think. And if not, i've little bit strange solution. But just for last chance. | |
Hi, I've got 2 forms, after click on the button I'm hiding first and showing second.. How to put the second form to the same location as first one? I've tried: MMenu m = new MMenu(); // MMenu is the first form this.Width = m.Width; //Width and Height lines are … | |
Hi, I'm developing app for Smartphones (iOS, Android and Blackberry) I'm contacting my server for php script, with local server, everything works fine, but with remote, I'm still getting an error: **faultString="Channel disconnected" faultCode="Client.Error.DeliveryInDoubt" faultDetail="Channel disconnected before an acknowledgement was received** I have found out, this can happen if there … | |
var arr = new Array(); arr = document.getElementsByClassName("repestyl2"); var index = 0; while(index !== arr.length){ if(arr[index].innerHTML.indexOf("Eck") >= 0){ arr[index].removeNode(true); arr[index].parentNode.removeChild(arr[index]); index++; } Is this code ok? Because I can't get it to work :) Simple question :P Thanks :) Maybe I should use for-each o.O | |
Hello, ths is one thing that is really shaking my heade O_o, I have got a Html and Javascript code, that contains about 1000 lines and I need to put it to php variable. Sure I was thinking about the [B]EOT[/B] method, But thare is one problem with it, if … | |
Hi, I am new to java and I need to work with arrays. I have found some tutorials, but everywhere was something like [CODE] int[] anArray; // allocates memory for 10 integers anArray = new int[10]; [/CODE] But what if I dont know how long the array will be? When … | |
Re: Im not sure if I understand you, but: if I do, try to make a while loop an start inserting. [CODE] $con = mysql_connect("localhost","sample","sample"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("logging", $con); $result = mysql_query("SELECT `members`.`name`,`time_attendance`.`time` FROM members\n" . "LEFT JOIN `log_time`.`time_attendance` ON `members`.`code` = `time_attendance`.`code` … | |
Re: Try to.. Just put it to the while loop: (If I understand, $j is something like index, (staring with 0, and getting bigger)right? so do it like this: [CODE] $j = 0; $count_to = count($arr_to); $count_from = count($arr_from); while($j !== $count_to && $j !== $count_from){ if($dateall>=$arr_from[$j] && $dateall<=$arr_to[$j]) // something … | |
Re: On line 34, you are using undefined variable $getid, as the error says, you must define it before you can use it.. I don't know what $getid should be, but for example: [CODE]$getid = 0;[/CODE] | |
Re: Didn't tested it, but I think, you are missing quotes, try this: [CODE]$points = 5; $query2 = "UPDATE `Cust` SET points = points + '$points' WHERE name = '$name'"; $result = mysql_query($query2); [/CODE] Note: Now I have tested it, its working :) | |
Hi all, I need help with one script. If i Have string like [CODE]$str = "0001564[B]A[/B]58749655[/CODE] I need to find that [B]A[/B] in this string, and count which number is it (When tha A is on the third place, return 2 [starting from 0]) A think regular expression will be … | |
Re: There is the way, but it can log just text, that has been written to the input text in form. This way is onKeyUp event and send (via ajax) the text to the action page (php), that can handle the strings that was sent. I can make one for you … | |
Re: No, sorry, but I really don't understand you explaination. What means program in your post? And What do you want to accomplish? ![]() | |
Re: Again, there shouldn't be any brackets around Post Variables. Maybe its not an error, but It doesn't make a sense. Try to change it to: [CODE]$username= $_POST['username']; $password= $_POST['password'];[/CODE] | |
Re: Don't understand that bracket around variables: [CODE]$title = $_POST['title']; $author = $_POST['author']; $isbn = $_POST['isbn']; $description = $_POST['description']; $publisher = $_POST['publisher']; $year = $_POST['year']; $stock = $_POST['stock']; $price = $_POST['price']; $sold = $_POST['sold'];[/CODE] But don't know if this is a Solution try to add [B]or die[/B] after the query. Like: … ![]() |
The End.