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
1 Commented Post
0 Endorsements
Ranked #1K
~9K People Reached
Favorite Tags
Member Avatar for kusel1030

For a program i'm writing I need to read a .txt file into a 2-d array. The txt file contains spaces that need to also be read into the array, so I was told I need to use getline, but after searching google and this site i'm not sure exactly …

Member Avatar for omarelbeik
0
246
Member Avatar for MediumSoda

I need some help with a code I'm writing. The user inputs some letters, a loop is ran to check if it's a vowel or consonant, then when the user is done it returns the total amount of vowels and consonants. The problem I'm having is the loop is suppose …

Member Avatar for MediumSoda
0
408
Member Avatar for itzcarol

HI All, I am having a little difficulties here. Here is my requirements: Play the game of paper-rock-scissors. In main ask the user how many hands he/she wants to play. This must be an odd number, so you must validate this input to make sure the number is odd! After …

Member Avatar for Tumlee
0
246
Member Avatar for AlexFG

Hello everyone, I'm taking a C++ class in college and the last assignment for the semester is to write a sub hunter game that's worth 25% of my grade so needless to say I have to do a very good job on it. The due date is in 9 days …

Member Avatar for AlexFG
0
188
Member Avatar for Sphiros O'kelli

Hey!! I'm new to C++, this is the final program of my semester and I am stuck sooooo hard... I have the code laid out and it will compile but my functions wont work like I want them too. here is the code: [CODE] #include<iostream> using namespace std; void getlist(int[], …

Member Avatar for Sphiros O'kelli
0
222
Member Avatar for zizuno

I am planning on writing a website that retrieves information from websites that require logins. Originally my intention was to AJAX most of it so I could provide the information in nearly realtime but the problem lies in browsers not allowing cross domain requests. So I considered YQL but then …

0
47
Member Avatar for zizuno

I have a website that I have made. I am using friendly urls and I want to force use those in the URL bar. Current htaccess is [code] #Options +FollowSymLinks RewriteEngine On RewriteBase / RewriteRule ^(gallery|upload|verify|contact|about)$ $1/ [R] RewriteRule ^(gallery|upload|verify|contact|about)/$ $1.php [NC] RewriteRule ^view/?$ view.php [NC] RewriteRule ^view/(molly|ms|es|misc)$ view/$1/ [R] …

Member Avatar for twiss
0
87
Member Avatar for NinjaLink

I receive the correct results when I use Microsoft Internet Explorer. However, when I use Ubuntu and try to get the output, I receive a blank screen except for the title "Book Finder Search Results" which appears at the top. Are there any adjustments I can make, so I can …

Member Avatar for zizuno
0
196
Member Avatar for Joe34

Okay, I have the content area of my Wordpress blog theme I'm creating. I want the content area to at least have a height of 600px, but if more content comes then I would like the height to change to what ever is necessary. So 600px automatically, but continue expanding …

Member Avatar for zizuno
0
156
Member Avatar for seblake

When using <style type="text/css"> body {background-image:url('images/DarkBrushesswlbcbl2.jpg');} </style> I have two 'errors' I do not want. 1) I have a little line to the right of the title graphic that I want to get rid of; 2) Depending on the user's browser, the text does not look the same (right justified …

Member Avatar for seblake
0
167
Member Avatar for xxhellothere

Hello everyone, i currently trying to write a program that will locate a hyphen in a date in the format YYYY-MM-DD this is what i have so far [ICODE]date = str(raw_input("Enter a date in YYYY-MM-DD format: ")) i = 0 while i < len(date): if date[i] != "-": i = …

Member Avatar for jice
0
148
Member Avatar for zizuno

This is just a dumbed down version of my web application. I successfully did an on submit earlier but deleted it somehow. So I deleted everything not essential to make sure nothing interferes. If I remove the submit part, it appends just fine. I am a noob with jquery, help …

0
51
Member Avatar for adrianfigallo

hello guys, i'm pretty new to php and to this forum, but i need a little bit of help and i hope i can find it here :). I need a wordpress page to create dynamic links, using the url and the wordpress database (or a new database¿?) to grab …

Member Avatar for Dan Koralek
0
119
Member Avatar for toritza

hello. I am quite new in python so i have a question. I have a csv file in which i have names of 30 cities and their coordinates(lat and long). i want to generate a distance matrix for these cities. How can i do this ?

Member Avatar for Gribouillis
0
2K
Member Avatar for begueradj

Hello people, I have a problem in displaying my images in the dimensions I wish: I used the following code: [CODE] echo'<td><a href="portsdetails.php?idImg='.$idphoto.'"><img src="'.$lien.'" width="10" height="10" border="0"/></a></td>'; [/CODE]

Member Avatar for begueradj
0
157
Member Avatar for jonow

I want to make it so I can put a caption under an image so that the caption will only go as long as the image. I wan't to be able to do this without having to set a width for the caption. I do not know if this is …

Member Avatar for rosy12
0
144
Member Avatar for Fresco Vivir

Greetings everyone i'm working on small php project and you help me a lot so far , what i want to know is how can i know the name of last column in a table i found away to know the last record in a column thats SELECT LAST(column_name) FROM …

Member Avatar for diafol
0
127
Member Avatar for 1ML

HI, I've just installed Ubuntu Linux on my Packard Bell i3 PC which is great, except that now I have to develop stuff in Java [Android, no groans please]. I've used and developed in Linux a long time ago, but I can't seem top find anything that can open and …

Member Avatar for 1ML
0
321
Member Avatar for yellowfeet

Hi, I've finished fixing a website for a client. However, he has a form that is not validating and I'm not exactly sure why. Here are some of the errors - Missing Fields Your form located at does not work because you forgot to include the required "rec_mailto" field within …

Member Avatar for yellowfeet
0
173
Member Avatar for joeywheels

I'm having difficulty figuring out how to append two user inputs into a list as a tuple. I would also like to call the list and enumerate the list (e.g., 0. dog_name:dog_breed). I'm not sure how to call display or if it is even written properly. Here's what I have …

Member Avatar for woooee
0
142
Member Avatar for Pleasant Day

I use a WYSIWYG tool to design my web pages, I want to change the part that handles sound to html5 so it will work better on another platform I want to use. I have looked at the code my editor made, this looks like the bit that needs changing …

Member Avatar for zizuno
0
187
Member Avatar for zizuno

I need help vertically aligning an image inside of a div. I have tried all various methods found on the web. I have tried table display, line height, etc. The page can be viewed at [url]http://seekretgarden.tk/view/0/[/url] . The red background is the display area of the image allowed by the …

Member Avatar for zizuno
0
88
Member Avatar for zizuno

I have code the goes to a page and downloads information on its update. Every once in a while it errors out with [code] url2z = url2z.read() File "/usr/lib/python3.1/http/client.py", line 502, in read s = self._safe_read(self.length) File "/usr/lib/python3.1/http/client.py", line 594, in _safe_read raise IncompleteRead(b''.join(s), amt) http.client.IncompleteRead: IncompleteRead(15928 bytes read, 37182 …

Member Avatar for TrustyTony
0
342
Member Avatar for zizuno

Basically I have an irc bot that connects to irc and listens to commands. Imports all of its functions from it. Here is some sample code with comments on what happens So my question is: how can I pass all of the information required to send irc information without reconnecting …

0
53
Member Avatar for zizuno

Can someone explain to me why this sort is going all wonky on me? And a how to fix would be cool too. Thanks [code] >>> a = ['2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '2', '3', '4', '5', '6', '7', '8', …

Member Avatar for zizuno
0
154
Member Avatar for jakizak

I've seen over the last few days many people on the internet and various forums asking for how this is done. Now there is plenty of posts out there that explain how to do this. However I have yet to find one that explains how you work it into a …

Member Avatar for jakizak
0
158
Member Avatar for zizuno

I have been told by a number of people to use xpath instead of regex for some of my regex searches. What advantages does xpath provide over regex? I can't find a webpage that says that. Been through over 10 pages of search so far.

Member Avatar for richieking
0
606
Member Avatar for cristi08

[CODE] $id_subramura1=$row['id_subramura1']; $display_block.="<li><a href=\"".$_SERVER["PHP_SELF"]."?id_subramura1=" .$id_subramura1."\">".$Denumire_Subramura1."</a></strong></li>"; print_r($_GET); if($_GET["id_subramura1"] === "") echo "a is an empty string\n"; if($_GET["id_subramura1"] === false) echo "a is false\n"; if($_GET["id_subramura1"] === null) echo "a is null\n"; if(isset($_GET["id_subramura1"])) echo "a is set\n"; if(!empty($_GET["id_subramura1"])) echo "a is not empty";[/CODE] How it possible to echo "a is null" when is …

Member Avatar for zizuno
0
197
Member Avatar for ellenski

Here is what my page is suppose to look like. There are clickable tabs at the top namely: Home, About, Contact Us. When I click on the About tab for example, the content for the About would be displayed. However, the content for the Home tab is still there. I …

Member Avatar for zizuno
0
155
Member Avatar for Geemon

Hi I am new to the forums, and somewhat new to python. I'm trying to make a Text Based Adventure game. I don't have an error, but a bug. This is the code: [code]import descriptions inventory = [] gold = 0 acts = {"north":"hi"} def start(acts): print(descriptions.start) rm_a(acts) def rm_a(acts): …

Member Avatar for griswolf
0
205