Forum: PHP Nov 8th, 2007 |
| Replies: 6 Views: 8,750 Hmm, I tried that. I added a hidden field with the called record with the value of id and then tried to pick it up at the beginning of the if statement instead of $id=$_GET[id] i now have $id =... |
Forum: PHP Nov 7th, 2007 |
| Replies: 6 Views: 8,750 Hi,
I have this code. It works fine using PHP 4 and MySQL 5.0. but it doesn't work at all on my webhost (php4 mySQL 4) and I cannot for the life of me figure out why.
Here's my code:
/<?... |
Forum: C++ Apr 15th, 2007 |
| Replies: 30 Views: 10,508 Wow, thanks vijayan that IS wonderful. Thank you all so much for your help and clever ideas. I definately feel that I have what i need to get past the hurdle I was stuck on. Thank you to iamthewee... |
Forum: C++ Apr 15th, 2007 |
| Replies: 30 Views: 10,508 Holy Schneikes!
That's it!!! Thanks a million infarction!
for(int i = 0; i < MAXSIZE; i++)
{
do {
temp = rand() % 5000; // get random number
} while (LinearSearch(list, temp) !=... |
Forum: C++ Apr 15th, 2007 |
| Replies: 30 Views: 10,508 Sure, I understand. I'm just trying to quickly generate some random numbers in an array, however to check if the number is in the array before adding another random number. That way i'll have a list... |
Forum: C++ Apr 15th, 2007 |
| Replies: 30 Views: 10,508 So when I run my code I get these results (i truncated them) but as you can see I get some weird memory location for whenever the number is a duplicate...I think or something weird is happening here.... |
Forum: C++ Apr 15th, 2007 |
| Replies: 30 Views: 10,508 Hello, I need some help filling an array with UNIQUE random numbers. So far I've figured out how to fill an array with random numbers, that's easy, but I'm stuck on how to avoid filling it with... |