Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #2K
~20.4K People Reached
Favorite Tags
Member Avatar for riahc3

Trying to get the last row inserted from a Excel sheet. The sheet is called clientes. I have id, name, description Since ID is auto incremental, I can sort by ID: My idea is: oledbcmd = "Select top (1) * From [CLIENTES$] ORDER BY id desc"; but it does not …

Member Avatar for rogerwigaa
0
1K
Member Avatar for TheFearful

Hey everyone, I am trying to be able to have a textbox that only accepts numbers that is either 1 or greater but less than the number of items in a table from the databse. The queries work fine and such. What I'm trying to figure out is how to …

0
161
Member Avatar for TheFearful

Hey everyone, I have a question about prepared statements for PHP and mySQL. I have been able to do them for a single row such as ID and such for a particular object, but is it possible to do a SELECT all command as well? I want to be able …

0
208
Member Avatar for TheFearful

Hey everyone, I have created a PHP web application that allows people of different permissions to do certain things such as read-only, add, update, or delete. That works pefectly. However, it came across my mind that I have not done anything to prevent against SQL injection or XSS attacks. I …

Member Avatar for TheFearful
0
384
Member Avatar for TheFearful

Hey everyone, I have a question about a database design that I have right now. The template I was given from someone is the first attached that you will see. I looked at it and figured that the database design of that is not the best, so I decided to …

Member Avatar for TheFearful
0
338
Member Avatar for TheFearful

Hey everyone, I have a question. I have a web app where you have a table that will either update, delete, or add a user. The update works great but the delete is weird. It deletes just fine, but I ask for a confirmation first before the action is completed. …

Member Avatar for TheFearful
0
381
Member Avatar for Aeonix

I'm trying to do something, but it doesn't work out, the primary suspect is incorrect query, but I don't know whether it's correct or not. I could try running it in phpMyAdmin, but then I don't know how these are escaped. The result is: `array(5) { ["current_field"]=> NULL ["field_count"]=> NULL …

Member Avatar for RudyM
0
247
Member Avatar for TheFearful

Hey everyone, I have a question. I created a page that pop-ups when a user clicks a link and that page displays a table of the information that it pulls from the database that I have created. I want to be able to have a user click an update button …

Member Avatar for TheFearful
0
347
Member Avatar for TheFearful

Hey everyone, I am trying to use JQuery to help me load a page on my page so that the user does not have to refresh or move to a new page. So far, I have the code so that the next page's contents will display, but the update button …

Member Avatar for hielo
0
532
Member Avatar for TheFearful

Hey guys, I'm trying to reupdate a web application that I have going on right now. Originally, I had a php page connect to a database and have a dropdown menu with the list of user id's. When you select the user id, you can submit it and you will …

Member Avatar for TheFearful
0
448
Member Avatar for TheFearful

Hey guys, I am trying to figure out a few things right now. 1. Is it possible to do a nested checkbox where there is the main checkbox and then two tabbed checkboxes that are related to the main one and when the main one is checked, the other subcheckboxes …

Member Avatar for TheFearful
0
210
Member Avatar for Muhammad_111

anybody tell me please what is wrong in this code it will give me only blank console screen? #include <iostream> using namespace std; int main() { int x=1; int y=2; int z; while(x<=50) { while(y<x) { z=x%y; if(z==0) { cout<<x<<"is a prime number"<<endl; } else { y++; } } x++; …

Member Avatar for TheFearful
0
196
Member Avatar for TheFearful

Hey everyone, I decided to do a lot of echos to make a letter for different selections based off the user. Everything works well except that when the user selects one of the options, two different letters are shown on the page and it's only for one of the options. …

Member Avatar for TheFearful
0
301
Member Avatar for TheFearful

Hey everyone, I have been trying to send a test email before I do any further development and can't see to figure out why I am getting this error Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use …

Member Avatar for rproffitt
0
195
Member Avatar for TheFearful

Hey everyone, I have a question and I am not sure if it's possible or not to do it with what I'm using. I am using HTML, PHP, JavaScript, and mySQL to make a web page that pulls information from a Database. After that, I want to have a dropdown …

Member Avatar for TheFearful
0
566
Member Avatar for sukumar paul

`Inline Code Example Here`Hello friends, I am building a multidimensional array with the following code: `Inline Code Example Here` the example code is $Questions = array( 1 => array( 'Question' => 'CSS stands for', 'Answers' => array( 'A' => 'Computer Styled Sections', 'B' => 'Cascading Style Sheets', 'C' => 'Crazy …

Member Avatar for sukumar paul
0
1K
Member Avatar for TheFearful

Hello everyone, I am learning PHP with mySQL and I want to know if it's possible for me to do a dynamic dropdown box(which I have) that will automatically fill in fields below it such as a textbox. If I select a userID from the dropdown, that selection will fill …

Member Avatar for hericles
0
247
Member Avatar for TheFearful

I don't know too much about web development or making web pages although I can make simple html pages that have forms and so forth. I can do a little bit of javascript and css so that I can give the page some functionality and some type of design. However, …

Member Avatar for AleMonteiro
0
269
Member Avatar for CreatorZeus

So I'm working with time.h for this (copied from msdn): int main( void ) { struct tm newtime; char am_pm[] = "AM"; __time64_t long_time; char timebuf[26]; errno_t err; // Get time as 64-bit integer. _time64( &long_time ); // Convert to local time. err = _localtime64_s( &newtime, &long_time ); if (err) …

Member Avatar for triumphost
0
2K
Member Avatar for TheFearful

Hey guys, I am trying to figure out how to do a double transposition cipher. This is what I have so far to take in a string and then put that string a 2x2 array of a fixed size that I made. I have the key that I want to …

Member Avatar for TheFearful
0
2K
Member Avatar for TheFearful

Hello everyone, can anyone explain to me what is wrong with my project? I coded the program using my linux system using Vim and the g++ compiler. I then copied that text over to Visual Studio since I am assuming my professor is going to compile and run it through …

Member Avatar for Moschops
0
440
Member Avatar for mrismich

Im a student & and just started learning c++... My professor assigned me a program to get output as: 1 1 2 3 5 8 13 21 34 With the use of while loop... i hv made this>> #include<iostream.h> #include<conio.h> main() { int n=1,m=2; cout<<n<<' '<<n<<' '<<m<<' '<<n+m<<' '<<n+(2*m)<<' '<<4*m<<' …

Member Avatar for TheFearful
0
218
Member Avatar for TheFearful

Hey guys, I just learned the very basics of arrays and I have to write this program of a tic-tac-toe game. The requirements are this: Write a modular program that allows two players to play a game of tic-tac-toe. Use a two-dimensional char array with 3 rows and 3 columns …

Member Avatar for マーズ maazu
0
3K
Member Avatar for AbstractEden

I'm having some issues with one of my bonus assignments for school. In my code the purpose of the project is posted, but this is what I have so far. /******************************************** *File Name: Combination (Assignment 8 Part 1) *Purpose: Create a frame with ten buttons, labeled 0 through 9 (Hint: …

Member Avatar for Hiroshe
0
1K
Member Avatar for TheFearful

I am new to Java and am experimenting with the language. I am looking a way to convert a user-inputted date and convert it to the MSexcel format. So 1998/07/05 is 35981. Any clue on how to do this? This is what I have so far import java.util.*; import java.text.*; …

Member Avatar for TheFearful
0
221
Member Avatar for TheFearful

I am trying to create a 2-3 tree using an insert function and I am stuck beyond this point. I am able to get the first node with the small and large value, but I do not know what do to from here. Any advice/tips? #include <iostream> using namespace std; …

0
92
Member Avatar for TheFearful

I am confused on how to implement this. I was thinking a loop, but the loop I was doing would only fill the array and make the stack full. Any tips/suggestions I can use to help me get through this mental block? I put the code for all three of …

Member Avatar for TheFearful
0
212
Member Avatar for TheFearful

This is the code that I have for inserting a node, but I don't know how to do the delete function. Any tips would be helpful // Constructor Tree::Tree() { root = NULL; } // Destructor Tree::~Tree() { freeNode(root); } // Free the node void Tree::freeNode(Node* leaf) { if ( …

Member Avatar for TheFearful
0
162
Member Avatar for TheFearful

I am having trouble finding out if I did the header correctly #include <iostream> #ifndef TREE #define TREE // Node class class Node { int key; Node* left; Node* right; public: Node() { key=-1; left = NULL; right = NULL; }; void setKey(int aKey) { key = aKey; }; void …

Member Avatar for Kristian_2
0
201
Member Avatar for macki123

**i need someOne to solve for me all this Question as soon as possible he can** 1. Write a c program TO take a charcter from keyboard and find ASCII value of that character . Dialog box Enter a character k The ASCII value of k = 107 2. Write …

Member Avatar for macki123
-2
339