2,612 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for lewashby

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 …

Member Avatar for Dani
0
13K
Member Avatar for mrcniceguy

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))))

Member Avatar for ashkan_3
0
9K
Member Avatar for Onion13

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#
Member Avatar for pritaeas
0
464
Member Avatar for FoxyBit

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 …

Member Avatar for pritaeas
0
125
Member Avatar for Nosipho_1

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 …

Member Avatar for John_165
0
72
Member Avatar for Naveed_786

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 …

Member Avatar for pritaeas
0
72
Member Avatar for Dani

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 …

0
269
Member Avatar for bis student

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 …

Member Avatar for Alia_2
0
3K
Member Avatar for mexabet

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 …

Member Avatar for mexabet
0
974
Member Avatar for IndiaofCarl

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, …

Member Avatar for stellaa9x
0
203
Member Avatar for sols4comp

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?

Member Avatar for Dani
0
151
Member Avatar for Hithendra_1

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 …

Member Avatar for Dani
0
85
Member Avatar for Passy

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
Member Avatar for Dani
0
76
Member Avatar for Eugene_15

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
Member Avatar for Dani
0
73
Member Avatar for Thanh Phong

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 …

Member Avatar for GooGooseGooey
0
36K
Member Avatar for Sahilsahni

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 …

Member Avatar for ishu_1
0
4K
Member Avatar for davy_yg

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.

Member Avatar for scottoconnor956
0
760
Member Avatar for johnnysnowman38

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?

Member Avatar for rproffitt
0
443
Member Avatar for Gurbachan

'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)

Member Avatar for rproffitt
0
192
Member Avatar for Passy

**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
Member Avatar for rproffitt
0
191
Member Avatar for Abdul_68

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++
Member Avatar for rproffitt
0
150
Member Avatar for swathi sajja

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)

Member Avatar for rproffitt
0
109
Member Avatar for Alex_112

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, …

Member Avatar for rproffitt
0
53
Member Avatar for C_Oleyers

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 …

Member Avatar for Mike_74
3
447
Member Avatar for Violet_82

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: …

Member Avatar for Violet_82
1
543
Member Avatar for emin_2

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 …

Member Avatar for Jack Green
1
300
Member Avatar for Aarón_23

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
Member Avatar for pritaeas
1
106
Member Avatar for stefh

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 …

1
57
Member Avatar for Violet_82

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 …

Member Avatar for Violet_82
0
352
Member Avatar for student.09

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 …

Member Avatar for sahil_26
0
7K

The End.