Another quick question that might have an answer. In my Book table I also have a Date field (yyyy-dd-mm), is there anyway to return that in years it has been published? So for example one may be...
Type: Posts; User: Xender1; Keyword(s):
Another quick question that might have an answer. In my Book table I also have a Date field (yyyy-dd-mm), is there anyway to return that in years it has been published? So for example one may be...
Ahh yes thank you for the tips and that link as well.
SELECT Books.author_id
FROM Books
GROUP BY Books.author_id
HAVING COUNT(*)>=2
This got me the people who have written 2 or more books...
I am having trouble when it comes to writing queries that involve aggregate functions (such as Count and also when using Having). I have two tables of People (id and name) and Books (bookid,...
I am trying to connect my php server with a java program....the idea is that when a user hits a button it calls a php script, I would like this php script to in someway send data to a java program...
Hey just figured I would let you know I got it to work!! Got my getXmlHttp() function returning the correct object based on browser, and the HandleResponse to update the .innerHTML of the right...
Thank you very much, I was having a hard time wrapping my head around dealing with the program flow and then returning/updating. What you said really cleared up how this process works! I have...
I am working on a simple website using html,css,php, and some jquery currently (sliders). Currently when they are logged in it shows how many other users are also logged in. I have this all in a...
So I am trying to broaden my web skills by learning cURL and handling a GET request as JSON. So far I have a database set up that has a table of unique id's and usernames, and another table that...
Not sure if it is just because of well designed website - but in all honesty after looking at all these options - it appears to me the Arduino boards are actually what I am looking for. I feel like...
Totally agree. I have taken a Computer Organization course which went slightly into digital circuits (mux/and/or gates) and it definitely a challenge for me because of little prior knowledge. Another...
Wow! Thank you all so much for the responses they have all been so helpful!
@xb12x - thank you for mentioning that there are emulators for android development. This has been something of interest...
I really have no idea where to put this question - so I will put it on my favorite programming forum to start before I can narrow in on specifics.
I am a very experienced programmer with 3 years...
True, I think I may have used poor wording because I dont mean 'socket' more as a C server listens on a certain port, and binded to that port is a TCP listener and a UDP listener. I have seen an...
I am writing a server.c in which on the same socket I am allowing TCP and UDP connections. Currently my TCP works fine and much of the core of the structure is very similar to this websites examples:...
Oh okay, so the size of the pointer name is 4, which is size of int so that makes sense. so after I find the length of valid chars in my name pointer (etc. b,o,b,\0), I take my i counter and that is...
So I am trying to figure out the size of a char * array I have in bytes. I am just confusing myself by trying to figure this out because of:
sizeof(char) = 1
sizeof(char *) = 4
So I am going...
I have a function which returns a pointer to a string of chars (max being max size in bytes)
int read_ret(char *message, int max);
read_ret(&msg, 80);
I know this msg has two strings...
So I have an ubuntu server, I just added an external HD to it (ntfs), now on my mothers windows computer I would like to map a network drive to this ntfs hard drive so she can back up her files. I...
I have a picture that is black and white and is an outline of objects. I have lots of these and what I did was scan them into my computer and now I just need the outline of it on the computer and not...
Ok, so right now im working with this command:
psql --host=localhost -U tempusr -f set_everything_up.sql
which returns:
psql: FATAL: password authentication failed for user "tempusr"...
Just need some help with the initial set up of starting to make a query file using psql.
Currently I have an .sql file which creates a bunch of tables and also fills in the tables with data.
I...
Correct I am using Telnet, reason being was just for testing quick test cases on my localhost as opposed to running my client.c. I appreciate all the help and definitely learned alot about chars[] in...
Ok I did what you said spjackson this is my output:
>>Q (81)
>>U (85)
>>E (69)
>>U (85)
>>E (69)
(13)
>>
My STDOUT looks like this when doing that loop:
>>Q
>>U
>>E
>>U
>>E
>>
>>
running a quick test when using memset(message,'\0',sizeof(message)):
int i;
for (i=0;i<sizeof(message);i++) {
printf(">>%c\n",message[i]);
}
I see that...