Showing results 1 to 29 of 29
Search took 0.01 seconds.
Posts Made By: Woobag
Forum: PHP Jan 12th, 2008
Replies: 5
Views: 1,915
Posted By Woobag
Re: End of Line/Newline Problem

I'm trying something like this...

<?php
$array = array('foo' => 'bar', 'baz', 'bat' => 2);

function printArray($array) {
reset($array);
while(key($array) !== null) {
echo key($array) .": " ....
Forum: PHP Jan 12th, 2008
Replies: 5
Views: 1,915
Posted By Woobag
End of Line/Newline Problem

Assuming that PHP_EOL directive and the new line "\n" do the same thing, neither are working. I've recently updated to PHP5 after a long hiatus from PHP altogether.

I have tried putting the newline...
Forum: C++ Jun 2nd, 2007
Replies: 11
Views: 7,130
Posted By Woobag
Re: User define 2D array

Salem I am using the Visual C++ 2005 Express Edition compiler and it forbids the creating of variable sized arrays.
Forum: C++ Jun 1st, 2007
Replies: 11
Views: 7,130
Posted By Woobag
Re: User define 2D array

Thanks geek! I just figured out the way to do it ( with the utilization of the modifiers new and delete to access free store) and was heading here to see if anyone posted that.

You beat me to it,...
Forum: C++ Jun 1st, 2007
Replies: 11
Views: 7,130
Posted By Woobag
Re: User define 2D array

I'm using VC++ express edition and I get the following errors:

1>------ Build started: Project: TestProj, Configuration: Debug Win32 ------
1>Compiling...
1>source.cpp
1>d:\documents and...
Forum: C++ Jun 1st, 2007
Replies: 11
Views: 7,130
Posted By Woobag
Re: User define 2D array

Yeah, sturm it still does not work. I am pretty sure I have tried a setup earlier almost exactly like that and got the same results.

Salem is right. I think the problem could be solved by using...
Forum: C++ Jun 1st, 2007
Replies: 11
Views: 7,130
Posted By Woobag
Re: User define 2D array

such as myArray(int[][] a)?
Forum: C++ Jun 1st, 2007
Replies: 11
Views: 7,130
Posted By Woobag
User define 2D array

I'm trying to write a program where the user gives a size of an array. myArray(5) (below) fills and prints a 5x5 array with numbers 1-5 and prints out 5 numbers on a line.

The output would look...
Forum: HTML and CSS Sep 14th, 2006
Replies: 8
Views: 1,913
Posted By Woobag
Re: Image links and CSS

Rollovers are more complicated, and customizing them on the fly is a bit of a pain. I am going for a style and it can be acheived both ways, and this way is the easiest.

Edit- I still get no "hover"...
Forum: HTML and CSS Sep 12th, 2006
Replies: 8
Views: 1,913
Posted By Woobag
Re: Image links and CSS

You guessed it. In I.E. the image links are the lighter gray, and do not change colors. The image links at the top of my page (this page is included by a index.php - for example) are showing in the...
Forum: HTML and CSS Sep 11th, 2006
Replies: 8
Views: 1,913
Posted By Woobag
Re: Image links and CSS

Yes, this works. Thanks for the help.

I saw something reference the "img" part in CSS, but i couldnt apply it to work correctly in my situation.

Sweet, and since i wanted to name it, i came up with...
Forum: HTML and CSS Sep 9th, 2006
Replies: 8
Views: 1,913
Posted By Woobag
Image links and CSS

Hey, Im trying to do a CSS rollover border color change for my images (which are links). Problem is, the border only partly covers the image, going about half way up the image on the sides, and not...
Forum: PHP Aug 27th, 2006
Replies: 2
Views: 1,597
Posted By Woobag
Re: UPDATE query not working properly...

Thanks for the help mostafadotnet, but my problem appeared to be not the actual update query itself. Once i hit the first submit button the query was running with an "empty" value because it had not...
Forum: PHP Aug 25th, 2006
Replies: 7
Views: 1,428
Posted By Woobag
Re: where can i find php tutorials

My personal favorite php/mysql intro tutorials are at 3dbuzz.com. The are free video tutorials and are all you need to start making your own database interactive scripts. I also like the...
Forum: PHP Aug 23rd, 2006
Replies: 6
Views: 24,421
Posted By Woobag
Re: Parse error: syntax error, unexpected T_STRING

I can tell you that my personal experiences not T_STRING, as in your case, but T_INC came from not putting the "$" sign in front of a variable in a for loop. Check your syntax on your strings and...
Forum: PHP Aug 23rd, 2006
Replies: 2
Views: 1,597
Posted By Woobag
UPDATE query not working properly...

Ive done several echo's and such to make sure info is in my variables before. When i do the first update on the page, i think the second one is running too. Either way, my record is being deleted for...
Forum: PHP Aug 19th, 2006
Replies: 2
Views: 1,007
Posted By Woobag
Re: Unknown error and ')' Problem

Dang, quite obvious what the error was after i stopped staring at it for an hour. I was missing the '$' sign in front of the i++. Damn C++, damn it.
Forum: PHP Aug 19th, 2006
Replies: 2
Views: 1,007
Posted By Woobag
Re: Unknown error and ')' Problem

Sorry for the double post, i meant to hit edit.
Forum: PHP Aug 19th, 2006
Replies: 2
Views: 1,007
Posted By Woobag
Unknown error and ')' Problem

Hey guys, im just starting out in php and im attempting to build a login script that works takes info from my table userinfo. The values in userinfo are created from createuser.php.

Here is the...
Forum: HTML and CSS Aug 11th, 2006
Replies: 11
Views: 2,186
Posted By Woobag
Re: Trouble with absolute positioning in CSS

Ok, ive fixed the problem. It was the spacer images did not have a height value and were for some reason stretching the table far downwards. I set the height values of the spacer image to match that...
Forum: HTML and CSS Aug 11th, 2006
Replies: 11
Views: 2,186
Posted By Woobag
Re: Trouble with absolute positioning in CSS

Do you think it has anything to do with the table not really having any height definition?

edit: here is my updated code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...
Forum: HTML and CSS Aug 11th, 2006
Replies: 11
Views: 2,186
Posted By Woobag
Re: Trouble with absolute positioning in CSS

Strange, it still has problems witht the table being copied downward, but the it only tiles the "swoosh_tile" accross in the first one.
Forum: HTML and CSS Aug 11th, 2006
Replies: 11
Views: 2,186
Posted By Woobag
Re: Trouble with absolute positioning in CSS

Ok, i modified the code a little bit to fit my image paths ect. but now i got this repeat problem...i cant seem to figure out what is causing it...here is what it looks...
Forum: HTML and CSS Aug 11th, 2006
Replies: 11
Views: 2,186
Posted By Woobag
Re: Trouble with absolute positioning in CSS

Not sure what you mean...You can have your CSS and HTML all in one file. Do you mean seperate it so you can read it better?
Forum: HTML and CSS Aug 10th, 2006
Replies: 11
Views: 2,186
Posted By Woobag
Re: Trouble with absolute positioning in CSS

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta...
Forum: HTML and CSS Aug 10th, 2006
Replies: 11
Views: 2,186
Posted By Woobag
Trouble with absolute positioning in CSS

He is what im trying to do, ive got a logo that i want to place around the center of your screen over my semi-complex background that is set up like...
Forum: C++ Jun 18th, 2006
Replies: 2
Views: 1,255
Posted By Woobag
Getting a non-random number?

Hey im trying to make a function that you can pass two values to, a RANGE_MIN and a RANGE_MAX, than generate and return a random number between those two numbers.

My first section of code repeats...
Forum: C++ Jun 17th, 2006
Replies: 3
Views: 867
Posted By Woobag
Quick Question

Im used to programming in Java as it was my first language to learn.

In C++ is...

int myFunc(void);
equal to

int myFunc();

I was doing a number of tests, but the answer was still unclear...
Forum: C++ Jun 15th, 2006
Replies: 1
Views: 804
Posted By Woobag
Code suggestion

Ill put my code at the end, as not to scare off anyone from reading on past the code (as if something so simple could scare!)

I basically wrote this tonight. I have been working on my C++ skills,...
Showing results 1 to 29 of 29

 
All times are GMT -4. The time now is 9:43 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC