2,612 Recommended Topics
Remove Filter | |
ERROR 1054 (42S22): Unknown column 'Firstname' in 'field list' I'M gettin the above error when I enter: mysql> insert into people (fname, lname) -> VALUES (Firstname, Lastname); Here's the table: mysql> desc people; +-------------+-------------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +-------------+-------------+------+-----+---------+-------+ | fname … | |
Is there anyone with the knowledge on how to Show online users with php?? i have seen in many sites,now i need someone who can explain to do it. (if there are users who are online to be displayed) Please explain how to get started)))) | |
Trying to make a game where explosions randomly appear on the screen using visual studio. I figured out how to make a single picture change location on the screen. So, I wanted to make the illusion of an explosion using imagelist. When I try to do it I get an … Programming c# | |
Hi all, I have been confusing myself for days over this so bear with me if it gets a bit confusing. I have a table called tags with columns id, name which list all unique tags (linux, php, mysql, etc.). And I have an array that includes some tags that … | |
um i am so bored at school i hate my teachers , school, and all the subjects i want to make fast money so i think i have a solution for my problem since i am a trap music girl i am in love with cardi b i would love … | |
Hi All, I havefollowing code and getting error "Parse error: syntax error, unexpected 'elseif' (T_ELSEIF) in C:\xampp\htdocs\SMR\index.php on line 13". Wehen i remove elseif and keep only if it just checks the first condition and ignor the second. When i put back elseif i get error. Please to fix this … | |
This question specifically relates to PHP's Memcached library when specifying a server key and adding multiple keys at once. **Question one**: Is it true that PHP's setMultiByKey() doesn't take advantage of the memcached server's native support for setting multiple keys at once, but that the logic is on PHP's side … | |
Hi this is my question , and I have some error in my code ,and I cant correct them ,and I am asking if you could help me ? this is the question : Create a class called BloodDonor that maintains information about blood donors in a blood bank having … | |
I have two MySQL tables, which I want to SELECT using a single PDO query and positional placeholders. I've been going through similar questions here to find a solution, but none seems to match the issues I'm having. The following code is the section of my script: <?php // query … | |
| I have three problems the first one is to count the letters in a string in Assambler in MIPS. the string that should be counted is "My bird is a happy bird and he like to sing" .data ANTAL_TAL: .word 11 TAL_ARRAY: .word 1, 3, 6, 9, 2, 4, 6, … |
I have created a php form that connects to a MySQL database. This is working fine however I have added validation and this doesn't appear to be working correctly and still posts to the results to the database regardless of if they are validated or not. Any ideas? | |
Mr.X owns a small business in a region with poor law-and-order. Recently his warehouse has been plagued by thieves. Gangs of thieves raid over his warehouse from time to time, stealing his raw material, affecting his business. He has studied the occurrences and noticed it that they are cyclical. Assuming … | |
function username_exists($username){ global $db; $sql = "SELECT 'username' FROM users WHERE 'username' = '$username'"; $result = mysqli_query($db, $sql); confirmquery( $result ); if (mysqli_num_rows($result) > 0) { return true; }else { return false; } } if(username_exists($username)){ $error['username'] = 'Username already exists'; } Programming php | |
I need to refresh my div tag (galleryadv) after ajax post submits to prepare for the next submit. But after submit successfully and refresh, my customized selection tag always changes to the default selection tag. would need some help to resolve my customized selection tag background color, it changes back … Programming javascript jquery | |
My experience with C# is very very limited and a simple python program like the one I'm trying to convert is beyond my experience in C#. If anyone knows of any converters or is willing to help me out I would greatly appreciate it! class ByteReader(object): """ Reads bytes from … | |
please if anyone could tell me, how it would be possible, i want to save the content of a uploaded word document in database field with php, no problem with encrypted file like ( ´V z2Ö<Ö<ôÿÿÿÿÿÿ·üü?????ÿÿÿÿSSS8‹DÏLS¥9à1) as it shows if you open a word document in a browser. just want … | |
Hello all, I am looking for a free vpn to view a laravel video tutorial in the forum. Any recommendation? Which is not a trial version? Is there any? As long as it works. Thanks in advance. | |
Hi there, Not sure if I am in the right place, but I wanted to ask where I can access a csv file for all the streets in Belgium? | |
'call it like List1.Clear List1.AddItem RDMature(Val(Text1.Text), Val(Text2.Text), Val(Text3.Text), 12) List1.AddItem RDMature(Val(Text1.Text), Val(Text2.Text), Val(Text3.Text), 2) List1.AddItem RDMature(Val(Text1.Text), Val(Text2.Text), Val(Text3.Text), 4) List1.AddItem RDMature(Val(Text1.Text), Val(Text2.Text), Val(Text3.Text), 1) | |
**my functions.php file** <?php function confirmquery( $result ){ global $db; if(!$result){ die("OUERY FAILED .".mysqli_error($db)); } } function redirect($location){ return header("Location:". $location); } function is_admin($username = ''){ global $db; $sql = "SELECT user_role FROM users WHERE username = '$username'"; $result = mysqli_query($db, $sql); confirmquery( $result ); $row = mysqli_fetch_array($result); if ($row['user_role'] … Programming php | |
| Write a program to sort an array of integers in ascending order by using pointers Write a program to sort an array of integers in descending order by using pointers Programming c++ |
I am using windows media player 9 and set the stretchtofit property to true.I find black areas on left and right side of video.My system has windows 10 and is set to 1280X720 resolution. I am using vs 2013. ![Sample.jpg](https://static.daniweb.com/attachments/4/45c8397429d9a2648379e71e0fa77848.jpg) | |
I'm in the process of developing a free open source online platform/course for complete beginners to teach themselves coding in Python. See https://github.com/alexmojaki/futurecoder for more information or try out the demo at https://futurecoder.herokuapp.com/. It's completely interactive and has several awesome features, including three dedicated debuggers, gradual hinting and solution revelation, … | |
So im actually creating a fastfood menu in which save how many times a button been clicked as a variable. So I can multiply it to its value. For example if i click btnChicken a variable will count how many btnChicken been clicked then it will multplied on the amount … | |
Hi there, I've come across an issue while trying to get all the records from a SQL database in java. A bit of necessary introduction here. I'm not using any framework just JDBC and the getAllBooks method is part of a REST call. The failing method is essentially doing this: … | |
public bool Kayit_Ekle() { sorgu = string.Format("Insert Into [{0}] ([SERVİS FORM NO],[ÇAĞRI NO]) Values ({1},{2})", sheet, formno,cagrino); cmd = new OleDbCommand(sorgu, Baglan()); cmd.Parameters.AddWithValue("@{2}",cagrino); int etkilenen = cmd.ExecuteNonQuery(); if (etkilenen == 0) { return false; } else { return true; } } Hello there, I am writing recording program with c … | |
I am trying to use many employees, but I do not how I can use case in my arrays. Could you help me, please? ---- program StaffSal(input, output); uses Crt; const SalRate = 0.1; A = 150; B = 85; C = 95; D = 120; type Employee = record … Programming pascal | |
Hi every1, can anyone lead me to the end of the tunnel in which Cordova had pushed me in? I just want to see the light, at the end of the tunnel. I've read ,re-read, and re-read again the doc, and I've explored dozens of pages according to what Google … | |
Hi all, I have a question about updating two values in a sql table using a subquery. My database is called books and the below table books too: id title author location_id 11 Tera Netrear 4 14 Disser Bubu 1 15 Tenno Puoio 4 16 Oban Tyrone 5 18 Sisnobi … | |
Hi, I have a bit of a problem of understanding of what I need to do to write this program. Could someone please provide me basic steps of what I should do? Or an example, I"m good at relating and following examples. I believe this is my last assignment for … |
The End.