Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
82% Quality Score
Upvotes Received
9
Posts with Upvotes
9
Upvoting Members
9
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
0 Endorsements
Ranked #2K
~255.85K People Reached
Favorite Tags

193 Posted Topics

Member Avatar for murali2489
Member Avatar for hiiiiii@

how come your html doesn't have double quotes "" or singel quotes '' ? `<input type="text" id="name" name="name" >` or did u just omit them for this post?

Member Avatar for Daju Emmanuel
0
3K
Member Avatar for nadiam

Hello, so I'm trying to create an augmented reality web based app following this tutorial : [Augmented Reality in 10 Lines of HTML](https://medium.com/arjs/augmented-reality-in-10-lines-of-html-4e193ea9fdbf) Im using xampp. The page is there but when I use the hiro image target nothing appears. My code is the same except that i changed the …

Member Avatar for JamesCherrill
0
180
Member Avatar for nadiam

Hello. I found this packet sniffer code that uses the pycap wrapper. Initially, its for live capture but I've changed it to read a .pcap file instead and im trying to understand it but some parts of it i can't i comprehend. could someone explain them to me please? the …

0
465
Member Avatar for nadiam

Hi. im trying to append a text file that is created by another class via another class which are threads. for example, i have : class AClass(QThread): def run(self): with open("Log.txt", "w") as h: h.write("Blabla \n") class BClass(QThread): def run(self): with open("Log.txt", "a") as t: t.write("new line of txt \n") …

Member Avatar for woooee
0
341
Member Avatar for nadiam

Hi, i wasn't sure about the title of my question, hope its okay. Anyway, the program i have is suppose to read a binary file then find for specific bytes like this: bytes1 = bytearray(b'\x41\x64\x6F\x62\x65\x20') filename = "portrait1.dng" with open(filename, "rb") as binaryfile: with open("foundhex.txt", "w") as found: found.write("File that …

Member Avatar for nadiam
0
394
Member Avatar for nadiam

Hi. Sorry if the question is confusing or weird but I am trying to find a specific number of bytes after finding a different set of bytes. Hopefully with code and my explaination of code, i'll get my question across. import base64 find_bytes = bytearray(base64.b16decode('46726F4B6E6F')) with open("readfile.raw", "rb") as f: …

Member Avatar for nadiam
0
374
Member Avatar for nadiam

hi. i have a really basic question (really new to python). how do i read an entire binary file? from https://www.devdungeon.com/content/working-binary-data-python , `data = binary_file.read()` is to read the whole file at once. so i have a .dng file to test, which is 16.2mb, and i did: with open("portrait1.dng", "rb") …

Member Avatar for Gribouillis
0
54K
Member Avatar for nadiam

Hello. I have a project to develop a tool that reads Windows 7 raw memory dump. My lecturer says that he'd rather we use python or c coz that's his specialy but we can choose whatever. We chose python (bcoz i feel like its an opportunity to further learn about …

Member Avatar for rproffitt
0
471
Member Avatar for nadiam

Hello, i know this question has been asked a million times but I just cant seem to get it right. I googled and found [this](https://stackoverflow.com/questions/19611599/html5-phone-number-validation-with-pattern#19611675) and tried to use the pattern given but still the pop up still shows. I don't know what im doing wrong but its getting frustrating …

Member Avatar for diafol
0
410
Member Avatar for nadiam

Hello, so I have this program which should be creating a file called output and appending some content from another file,data.txt, accordingly. Creating file called output works but then the output file is empty. what am i doing wrong? Oh and Im suppose to use method print() but that gives …

Member Avatar for JamesCherrill
0
520
Member Avatar for nadiam

Hi, I'm really, *really* new to Haskell. I'm practicing with simple online questions and there's a hcf question which I found the answer to online(http://snipplr.com/view.php?codeview&id=11973) but I still don't understand the coding. I'm not sure if this kind of question is accepted in Daniweb but yeah. Could someone please explain …

Member Avatar for cereal
0
213
Member Avatar for nadiam

Hi. I wasn't sure which topic this falls under as it sort of concerns both OS and this is, I'm sure, a **really noob** (I want to start learning linux) question but can i use one pen drive between the 2 different OS's? Earlier I was using my pen drive …

Member Avatar for Floret
0
517
Member Avatar for nadiam

Hello. I have this tutorial and I'm at a lost. The program is suppose to calculate the call charges according to the rates. conditions: a) all calls start at 600pm and before 700am will be given 50% discount from the normal rate b) any calls that starts at 700am and …

Member Avatar for JamesCherrill
0
671
Member Avatar for nadiam

Hello. I have an exercisse to convert from 24-hour to 12-hour clock. code: /*ALGORITHM READ INPUT VALUE IN 24-HOUR FORMAT DISPLAY THE EQUIVALENT 12-HOUR CLOCK WITH THE PERIODS AM OR PM */ #include<stdio.h> #include<conio.h> int InputValid24Hour(void); void Output12HourClock(int); void main() { int data; data = InputValid24Hour(); Output12HourClock(data); _getch(); } int …

Member Avatar for nadiam
0
482
Member Avatar for nadiam

Hello. I'm taking subject compiler construction. and there is a question and the answer that i don't anderstand. if it was digit -> [0 - 9] then it would be ->0->1->2->3->4->5->6->7->8->9 final state digits -> digit+ then it would be ->digit->digit->digit loop final state but this question i dont understand …

Member Avatar for rubberman
0
434
Member Avatar for nadiam

Laptop Details: Asus Windows 8.1 64-bit Hi. Im having issues with my laptop lately, I kept getting BSOD with error PNP_DETECTED_FATAL_ERROR. I tried uninstalling softwares which I had previously installed but I still kept getting it so i did a reinstall of windows instead and now im having driver issues(with …

Member Avatar for lucweb
0
847
Member Avatar for nadiam

Hi. I have this Semantic Network exercise with no answer and i just want to check if i am correct. Please check this image: http://imgur.com/a/iC0dW The exercise: Kassim is a 45 year old man who has 2 wives and 7 kids. He workds as a surgeon in a private hospital …

Member Avatar for nadiam
0
185
Member Avatar for nadiam

Hi. i ran a SFC /SCANNOW on my laptop(Asus, Windows 8.1) and there are corrupt files according to cmd. Checked the CBS log file and found multiple DIRSD OWNER WARNING , Ignoring duplicate ownership for directory AND [SR] Cannot repair member file [l:36{18}] . Could someone explain to me what …

Member Avatar for rproffitt
0
394
Member Avatar for nadiam

Hi, i have a datagridview : grd_ol and i added a button to it: Dim btnColumn As New DataGridViewButtonColumn() btnColumn.HeaderText = "Invoice" btnColumn.Text = "View Invoice" btnColumn.UseColumnTextForButtonValue = True grd_ol.Columns.Add(btnColumn) the table sort of looks like this: | ORDER_ID | CUSTOMER_ID | STAFF_ID | ORDER_DATE | TOTAL(RM) | INVOICE | …

Member Avatar for tinstaafl
0
417
Member Avatar for nadiam

Hi. im trying to get data from table TBL_ORDERITEM FLD_ORDERITEM_ID | FLD_ORDER_ID | FLD_PRODUCT_ID | FLD_QTY | FLD_SUBTOTAL grd_productlist.DataSource = ("SELECT FLD_ORDER_ID,FLD_PRODUCT_ID,FLD_QTY,FLD_SUBTOTAL FROM TBL_ORDERITEM_A15428 WHERE FLD_ORDER_ID = '" & id & "' IN (SELECT '" & id & "' FROM TBL_ORDERITEM_A15428 GROUP BY '" & id & "' HAVING COUNT(*) …

Member Avatar for nadiam
0
363
Member Avatar for nadiam

Hi. so this is actually a continuation from another question of mine[Here](https://www.daniweb.com/programming/software-development/threads/506795/dynamically-add-values-into-datagridview-cell-from-listbox-vb2010) but i was advised to start a new thread as the original question was already answered. This is the result of previous question answered : code for the listbox - datagridview interaction At the top of the code …

Member Avatar for nadiam
0
616
Member Avatar for nadiam

Hi. I have a form with list box : lst_product, datagridview : grd_order and button: btn_addline. lst_product has a list of product ids selected from database (MS Acess 2013) , grd_order is by default empty except for 2 headers and btn_addline adds rows to grd_order. btn_addline : Private Sub btn_addline_Click(ByVal …

Member Avatar for nadiam
0
630
Member Avatar for nadiam

Hi. Im using vb 2010. I want to dynamically add textboxes to my form by clicking on a button. I've google searched and so far this code worked: Private Sub btn_addline_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_addline.Click Dim txtB1 As New TextBox Dim i For i = …

Member Avatar for Xavier_5
0
578
Member Avatar for nadiam

Hi guys. Im trying to delete a row from a table in DataGridView (**VB 2010**) and my database (**MS Access 2013**) but on "Delete" it shows that it doesnt get the ID of that data row, so it wouldnt actually know what data to "Delete" delete btn: Private Sub btn_dlt_Click(ByVal …

Member Avatar for nadiam
0
538
Member Avatar for nadiam

Hi, im using vb2010 with MS Access 2013. I have this form that displays ID values from database into a listbox And when an ID is clicked the details that correspond with that ID are displyed into textboxes. Screenshots : Forms : http://imgur.com/a/NrTTD Display details : http://imgur.com/a/twF7P The delete button …

Member Avatar for jhai_salvador
0
473
Member Avatar for nadiam

Visual Basic 2010 and Microsoft Access 2013 I have a product table in MS with fields : fld_id,fld_name,fld_img,fld_price,fld_type fld_img i set it as attachment and of course attached the corresponding image to it - is this wrong? this is my code to get the data into the datagridview. my form …

0
209
Member Avatar for nadiam

Hello. Im doing some practice questions and Im kinda stuck. So basically I have three Jbuttons: "Menu", "Left" and "Right", a JTextField : "tDisplay" and an array : status. code (dummy code for example): String[] status = {"hello","goodbye","goodnight","goodmorning"}; what needs to happen is when Menu is clicked Hello is displayed …

Member Avatar for JamesCherrill
0
423
Member Avatar for nadiam

Hello. We're going into Constructora and super, using extends, subclasses etc. I have this code: class Student { private String name; private String matric_no; public Student(String n, String m) { name = n; matric_no = m; } } class UndergradStudent extends Student { private String programme; public UndergradStudent(String n, String …

Member Avatar for jacks009
0
244
Member Avatar for nadiam

Hello, I am running an Asus Windows 8.1 64bit lappy and I can't connect to the internet. I clicked on the internet connection icon in the tray and the green menu slides open and usually it shows the Airplane mode and below it the Wifi connections but instead it says …

Member Avatar for rproffitt
0
5K
Member Avatar for nadiam

Hi. Im trying this java program that's suppose to register the "staff"'s "car" and there's this boolean method that I don't know how to solve. There are 3 classes: Tester, Staff and Car. the boolean part is suppose to check if the staff has 1 or 2 cars registered and …

Member Avatar for AssertNull
0
251
Member Avatar for nadiam

Hi. I have these exercises to do, to write the output of some coding given. I can compile it in eclipse but doesn't mean i understand. can someone please explain this code to me. thank you. int[] arrayA = new int[3]; //this part i know, create array size 3 int[] …

Member Avatar for JamesCherrill
0
331
Member Avatar for nadiam

Hi. so we have this tutorial, a program that we have to complete, that we have to do before attending class and I've sort of completed it except for this small error. > Exception in thread "main" java.lang.Error: Unresolved compilation problems: > id cannot be resolved or is not a …

Member Avatar for nadiam
0
468
Member Avatar for nadiam

Hello. I need to do a factory reset on my lappy. Its an Asus A550C. I've tried Restarting then pressing F9 which goes to Windows Boot Manager, the only option is Windows 7 Home Premium (recovered). Then if I press F8 for advance option and choose Repair Computer it says …

Member Avatar for rproffitt
0
284
Member Avatar for nadiam

Hello. I have this usb(4gb) which was given to us for free but it's been partitioned. one is 17.7 mb the other is 3.62 gb its not much or anything but its kind of irritating me because instead of only 1 removable disk i have 2 listed. How to remove/merge …

Member Avatar for rubberman
0
290
Member Avatar for nadiam

Hi guys. I have already installed fullcalendar successfully onto my webpage home.php <script type="text/javascript" src="js/fullcalendar.js"></script> <script type="text/javascript" src="js/fullcalendar.min.js"></script> <script> $(document).ready(function() { var date = new Date(); var d = date.getDate(); var m = date.getMonth(); var y = date.getFullYear(); $('#calendar').fullCalendar( { header: { left: 'prev,next today', center: 'title', right: 'month,basicWeek,basicDay' }, …

Member Avatar for Shilpi_1
0
13K
Member Avatar for nadiam

Hi. im doing some exercises and im confused as to what its asking me to do. Problem: write a program that displays the average and highest mark based on the sets of marks entered. values less than 0 and greater than 100 should be ignored input: a list of input …

Member Avatar for JamesCherrill
0
164
Member Avatar for nadiam

Hi. Im doing a few exercises because I have a test tomorrow (Wish me luck!). This particular exercise asks for a menu calculator. The Menu is like: 1. Addition 2. Subtraction 3. Multiplication 4. Division 5. Exit Im using do..while and the switch case is in the do..while. and im …

Member Avatar for Violet_82
0
289
Member Avatar for nadiam

Hi, Im new to Java so Im trying out some excersises. The question asks to input IC number then get the digits for birthdate then display the complete birthdate. The output of this IC number : 900208-08-5386 ,should be something like this : 08 February 1990. I probably have to …

Member Avatar for JamesCherrill
0
137
Member Avatar for nadiam

hello, I am having a problem opening my database. Before this I could directly go to phpmyadmin after logging in to cpanel without entering username/password. Today, I was directed to a page to enter username/password before going to the database so I did but I got this warning: Warning in …

Member Avatar for diafol
0
2K
Member Avatar for nadiam

I am trying to update data but i get this error. `Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' username …

Member Avatar for nadiam
0
275
Member Avatar for nadiam

I am trying to pass a value from a hidden input using ajax but console says whatever im doing is not a function `Uncaught TypeError: "#name".val is not a function page.php:35` which is this line : `var name = ("#name").val();` html: <input type='hidden' value='$newname' id='name'> ajax: var name = ("#name").val(); …

Member Avatar for nadiam
0
3K
Member Avatar for nadiam

Hi. Im trying to update a page with a form using AJAX but it isn't working. Nothing happens. I have a table and one of the columns has an anchor tag like this`<td><a href='#' value='$name' class='request' onclick='request(".$name.")'>$status</a></td>` so when the user clicks on Request a form opens up via ajax. …

Member Avatar for nadiam
0
381
Member Avatar for nadiam

$username = $_POST['username']; $password = $_POST['pass']; $query = "SELECT id,name,username,password,status FROM users WHERE username = " . $dbh->quote($username); $result = $dbh->query($query); $userData = $result->fetch(PDO::FETCH_ASSOC); $userName = $userData['username']; $hash = $userData['password']; $status = $userData['status']; if($username == $userName) { if(password_verify($password, $hash)) { if($status == 'Request') { echo "<script>alert(\"You have not been activated. …

Member Avatar for diafol
0
289
Member Avatar for nadiam

hello i have this code: $event_id = $_POST['event_id']; $euser_id = $_POST['euser_id']; $getpic = $dbh->prepare("SELECT chair_id,chair_image,ext,posx,posy FROM cinema WHERE cuser_id = ? AND event_id = ?"); $getpic->bindParam(1, $euser_id, PDO::PARAM_INT); $getpic->bindParam(2, $event_id, PDO::PARAM_INT); $getpic->exectue(); but im getting error: `Fatal error: Call to undefined method PDOStatement::exectue() in.... on line 10`; line 10 being …

Member Avatar for nadiam
0
738
Member Avatar for nadiam

Hello. The scenario is a div and in the div are multiple cloned images, its like a floor plan thing and I would like to save that into the database and i guess i would have to convert it into a pdf or something to do so. That pdf would …

Member Avatar for diafol
0
520
Member Avatar for nadiam

hello, im wondering how to throw an error message to a user if the input value is a duplicate in `INSERT INTO...` I have: <?php require "connection.php"; $name = $_POST["names"]; $event_id = $_POST["events1"]; $euser_id = $_POST["sessions"]; $single_chair_id = $_POST["schair"]; $assign = $dbh->prepare("INSERT INTO cinema(cuser_id,event_id,guest_name,chair_id) VALUES(?,?,?,?)"); $assign->bindParam(1, $euser_id, PDO::PARAM_INT); $assign->bindParam(2, $event_id, …

Member Avatar for pixelsoul
0
219
Member Avatar for nadiam

Hi, im trying to increment the numbers to create unique id so i did: twin_chairid1 = 1; twin_chairid2 = 2; var twinseatsid = "twinseat" + twinseats; //create div for twin seats $("<div class='twin_seat' style='width:120px;display:table-row;'></div>").attr('id', twinseatsid).appendTo(cinema).draggable({ containment: cinema, snap: true }); //create unique id var twin_chair1_id = "B" + twin_chairid1; var …

Member Avatar for nadiam
0
197
Member Avatar for nadiam

i have this code that creates a div, adds id and appends the div. I am trying to drag that div but its not working like it should. $("<div class='twin_seat' style='width:120px;display:table-row;'></div>") .attr('id', twinseatsid) .appendTo(cinema) .draggable({ containment: cinema, snap: true, helper: 'clone' }); im using `helpe: clone` because i just want …

Member Avatar for nadiam
0
201
Member Avatar for nadiam

Hello, im trying to create a page that drag, drop and clone image on the drop plus dynamically add ids to the clones images. i sort of have it except the dynamic id part im not doing it right. $(document).ready(function(){ var cinemascreen = $("#cinema-screen"); var cinema = $("#cinema-wrapper"); var single …

0
172

The End.