Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~2K People Reached
Favorite Tags
Member Avatar for musicmancanora4

[code] Hey guys im not sure how this isset code is working and what each if statement is testing. a clear explanation would help. cheers ****ViewProductDetails.php**** Code: <?php session_start(); ?> <html> <body> <?php if (isset($_POST['submit'])) { if($_SESSION['item']==$_POST['h1']) { $_SESSION['qty'] = $_SESSION['qty'] + 1; } else { $_SESSION['item'] = $_POST['h1']; $_SESSION['price']= …

Member Avatar for vibhaJ
0
116
Member Avatar for musicmancanora4

Hey guys i have the following code below for a shopping cart just wondering what this hidden input text would be used for and the echo at the end of it. I know it reads from a text file with : as delimeters and it as an ID for each …

Member Avatar for urtrivedi
0
124
Member Avatar for musicmancanora4

Hey guys with regards to <xsl:value-of select="Catalog/Product_Type/Name"> how would i put that in a <h1> html tag which is defined in my css file. [code]<h1><xsl:value-of select="Catalog/Product_Type/Name"></h1>[/code] i get errors in xalan when i do that? The results of the value-of select i want it to be in a different font …

0
93
Member Avatar for musicmancanora4

Basically im trying to design a dtd that represents a collection of movies Not sure why but when i try validate the dtd it says undetermined element declaration 'Movies' but i have declared it havnt i? could someone take a look at my code give me some pointers ? thanks …

0
76
Member Avatar for musicmancanora4

Hi just wondering how i can convert ascii to binary then into hex then print it to the screen. The user will input 5 chars then do the conversion and print

Member Avatar for Lerner
0
135
Member Avatar for musicmancanora4

Hey guys just wondering if anybody has any idea how to make some sort of shortcut that will automatically run filemaker pro on the client computer so that it is able to connect to the remote database on the server. Is there a way it can be executed from the …

0
70
Member Avatar for musicmancanora4

Hey guys just wondering how i can sort the linked list by categoryName for the drink type list. Iv done the linked list in my code but its not sorted? Could someone help me write an algorithm or sum pseudocode [code] #ifndef GJC_H #define GJC_H /* System-wide header files. */ …

Member Avatar for SpS
0
163
Member Avatar for musicmancanora4

Sorry for posting again guys but i have fixed up teh string copies to copy the data into each struct variable. But still when i traverse through the linked list it does not print out anything after it reads the file. For some reason it may not be copying at …

Member Avatar for Lerner
0
150
Member Avatar for musicmancanora4

Hey guys im reading in a text file with several fields iv tokenized the '|' so that it only reads the fields categoryId, drinkType, the categoryName, and categoryDescription. My question is how come when i read the file and copy the reading buffer "temp" into each struct it does not …

Member Avatar for musicmancanora4
0
152
Member Avatar for musicmancanora4

Hey guys im having allot of trouble im using a rather modulized solution which is how i need it for my assignment. However when i enter input using a function called getUserInput() that i created it accepts input correctly, but when it validates the input using my validateMonth() function it …

Member Avatar for Narue
0
129
Member Avatar for musicmancanora4

Hi guys inside the double array it holds '?' character. How would i do the format printing to print it like this ithe user input variable is the size variable if 5 is typed in it suppose to print 5 rows and columns and print 2 rows and columns if …

Member Avatar for Narue
0
146
Member Avatar for musicmancanora4

Hey guys im making a calendar program where you enter a month 0 to display all months for that year... 0 - 12.. 1 being janauary etc and then entering the year. Similar to the cal command in unix sun on tue wed thu fri sat 1 2 3 4 …

0
89
Member Avatar for musicmancanora4

Im using an ansi c compiler all the errors using gcc -ansi -Wall -pedantic should work without warnings and errors. Running on unix

Member Avatar for Ancient Dragon
0
86
Member Avatar for musicmancanora4

Hey guys sorry for posting the whole code again.. How i can get my calenda program working from here? Because its not printing anything its only printing the mon tu wed etc but not the days of the month 1 - 31 and im not sure if its worked out …

Member Avatar for Ancient Dragon
0
93
Member Avatar for musicmancanora4

Hey guys i need to find out how many days there are in a particular month in a particular year. How can i start building an algorithm like that im having some trouble?

Member Avatar for Bench
0
85
Member Avatar for musicmancanora4

Sorry guys i apologize for posting large code but im trying to pass the int daysOfMonth[] = {31,28,31,30,31,30,31,31,30,31,30,31} variable array to the totalDays function so i can do some calculations. But i keep getting a seg fault. [code] int main(void) { unsigned month; unsigned year; unsigned long days = 0; …

Member Avatar for Salem
0
135
Member Avatar for musicmancanora4

Hi guys im having a slight problem passing the month and year variable to a function that i have created called int totalDays(unsigned year, unsigned month) now when i do a print inside the function it prints 0. Even though i have inputted using a key for example 6 for …

Member Avatar for andor
0
96