User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 402,873 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,133 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Showing results 1 to 9 of 9
Search took 0.01 seconds.
Posts Made By: Icetigris
Forum: PHP May 7th, 2008
Replies: 6
Views: 344
Posted By Icetigris
Re: array_search always coming up null

I ended up solving it. array_push() was the magic function here. It was pretty complicated, but this made it work:


$ngclasses = mysql_fetch_array($result);
while(list($ngc) =...
Forum: PHP May 6th, 2008
Replies: 6
Views: 344
Posted By Icetigris
Re: array_search always coming up null

I tried using $ngclasses = mysql_fetch_array($result); but array_search($cid, $ngclasses) is still coming up null. Am I using array_search wrong?

------------------
Another issue is that this chunk...
Forum: PHP May 6th, 2008
Replies: 6
Views: 344
Posted By Icetigris
Re: array_search always coming up null

So should I use array($ngclasses) = mysql_fetch_array($result); instead?
Forum: PHP May 6th, 2008
Replies: 6
Views: 344
Posted By Icetigris
array_search always coming up null

I'm trying to make a class registration page, but for some reason, when I dump my query results into an array and use array_search on it, array_search comes up null. Any ideas?


<?php

/* -...
Forum: MySQL May 6th, 2008
Replies: 1
Views: 374
Posted By Icetigris
Insert doesn't do what it's supposed to

I have a ton of inserts in an sql file that look like this:

INSERT INTO grades (GWid, classid, semester, year, grade, required)
VALUES(100000089, 'CS210', 'B', 'fall', '2006', 'yes');

but when I...
Forum: C++ Apr 28th, 2008
Replies: 1
Views: 213
Posted By Icetigris
Adding element to a vector crashes it?

I'm trying to write a data structure for a basic 3D engine, but for some reason it always crashes when I try to add an index to the polygon vector. Anyone know what may be going on? Thanks


#include...
Forum: C++ Feb 7th, 2008
Replies: 0
Views: 397
Posted By Icetigris
Question OpenGL Program with Bizzaro Behaviour

I'm learning OpenGL for a class and for the lulz and I'm trying to write a program that does the following:

-Open a 500x500 window with a 10x10 grid of black squares with a 1 pixel white border...
Forum: Java Sep 30th, 2007
Replies: 0
Views: 427
Posted By Icetigris
Bizzare logic error

This compiles, runs fine, and generally works, except for one thing. The contains() method doesn't work properly. For some reason table.contains(key) isn't returning the right value, which is thereby...
Forum: Java Sep 16th, 2007
Replies: 2
Views: 479
Posted By Icetigris
Rusty at Java

Hey everyone. This is pretty lame of me having to do this, but I haven't done Java for about a year and this algorithms class I'm taking assumes we remember all the details. Anyway, I'm trying to...
Showing results 1 to 9 of 9

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