Forum: PHP Jan 12th, 2008 |
| Replies: 5 Views: 1,915 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 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 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 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 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 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 |
Forum: C++ Jun 1st, 2007 |
| Replies: 11 Views: 7,130 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 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 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 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 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 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 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 |
Forum: PHP Aug 23rd, 2006 |
| Replies: 2 Views: 1,597 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 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 |
Forum: PHP Aug 19th, 2006 |
| Replies: 2 Views: 1,007 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 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 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 |
Forum: HTML and CSS Aug 11th, 2006 |
| Replies: 11 Views: 2,186 |
Forum: HTML and CSS Aug 11th, 2006 |
| Replies: 11 Views: 2,186 |
Forum: HTML and CSS Aug 10th, 2006 |
| Replies: 11 Views: 2,186 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 |
Forum: C++ Jun 18th, 2006 |
| Replies: 2 Views: 1,255 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 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 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,... |