Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #4K
~11.0K People Reached
Favorite Tags

25 Posted Topics

Member Avatar for manish812

If your going to use the ob_start() tag dont forget the ob_flush() tag right at the end of the page. But obviously its better if you can actually sort the problem out.

Member Avatar for Putu_1
0
784
Member Avatar for daryll1

Hi, I'm having a major problem with passing GCC link flags in Xcode. I created a C program that creates and runs a neural network using the FANN library. When I compile this command line I use the command [CODE]gcc main.c -o train_test -l fann[/CODE] to link the fann library …

0
103
Member Avatar for bytelaunch

Are you using the Apache that comes with OSX? If so, have you tried MAMP? I know it may be frowned upon but personally I've only ever had trouble with the pre-installed apache. MAMP has always worked for me well. Just write a script to start the servers on startup …

Member Avatar for bytelaunch
0
131
Member Avatar for chiiqui

[CODE]$result=mysql_query($sql) or die(mysql_error()); echo "<table border=1>"; echo "<thead><th>NAME</th> <th>ORDER DETAILS</th><th>TIME</th> </thead>"; while($row = mysql_fetch_array($result)) { print '<tr><td>'.$row['NAME'].'</td><td>'.$row['ORDER_ID'].'</td><td>'.$TIME_VARIABLE.'</td></tr>'; } echo "</table>"; [/CODE]

Member Avatar for daryll1
0
3K
Member Avatar for daryll1

I am attempting to dump a portion of my table after 7 days. This table will hold access logs so will fill up pretty quickly. I'm not too sure if this is entirely possible but this is what I'm trying to use. Any help or a push in the right …

Member Avatar for samanthakumara
0
219
Member Avatar for daryll1

Hi, this problem has had me stumped for weeks now. I have written a compiled CGI script in C to rotate my log files each day. The problem is that I don't seem to be able to execute it from inside PHP. It runs fine if I access the file …

Member Avatar for daryll1
0
178
Member Avatar for 54uydf

Download XAMPP and Notepad++. Read the documentation and you should pick it up.

Member Avatar for Member #120589
0
195
Member Avatar for daryll1

I've created a C script that rotates logs on my web server. It needs to receive 2 arguments, one whether the rotated log will be zipped and the other is the location of the log file. This works fine in command line but I cannot get it to execute with …

0
98
Member Avatar for daryll1

Hi I'm writing a piece of code to update a users password when they have forgotten it, but, for some reason I cannot seem to get it to work. It is always echoing out that the secret answer is wrong. It's probably something stupid that I have looked over, if …

0
83
Member Avatar for daryll1

Hi, as a bit of background, My Uni have lately implemented a CGI script so you have to log in to be able to use the wireless. This would be OK but they are terrible programmers and instead of timing out after a period of inactivity it will time out …

0
136
Member Avatar for mrcniceguy

Should it not be, [CODE]$checkz=mysql_query("SELECT DISTINCT poster FROM postcomment WHERE postid='".$po."' AND ((poster !='".$poster."') OR (poster !='".$user."'")));[/CODE] I can't see what the extra brackets were doing and I capitalized the AND and OR, I find it easier to read the statement then.

Member Avatar for mrcniceguy
0
378
Member Avatar for softheart

If I understand right you'd like a link that doesn't go anywhere if they're not an admin. Something like [CODE]if($user= "admin"){ print '<a href="page.php" class="enabled-link">Admin Section</a>'; } else{ print '<a href="" class="disabled-link">Admin Section</a>'; }[/CODE] with something like this in your css [CODE] .enabled-link { color:blue; text-decoration:underline; } .disabled-link{ color:grey; text-decoration:underline; …

Member Avatar for surenkumar
0
3K
Member Avatar for sitie_aniem

The curly brace won't be on line 1965 that's just where PHP is getting the error as it expects something else to come. Try using a program that pairs up the braces like notepad++, Kate or Bluefish. Or even just spend a bit of time going through the code and …

Member Avatar for daryll1
0
728
Member Avatar for D4n1sD

I'm not sure if anyone will mind me saying this but I'm sure this forum is for HELP with PHP issues. Not for someone to come to for cheap solutions. You say you're not an expert in PHP but surely having a go at it and posting your ideas for …

Member Avatar for almostbob
0
133
Member Avatar for daryll1

Hey, I'm having some trouble building code to insert values from my form. The form prints out from the username, whether the account has been confirmed and the level of the user from the database. I am having trouble getting the data to go back in once amended, this is …

0
124
Member Avatar for ryan1987

try something like may have to play around with the quotation marks a bit [CODE] while ($row=mysql_fetch_array($result)) { $name=$row["name"]; $options.="<OPTION VALUE=\"$name" <?php if (isset($_REQUEST['name']) && $_REQUEST['name'] == "Mr") {echo 'selected="selected"';} ?>>".$name.'</option>'; } [/CODE]

Member Avatar for daryll1
0
119
Member Avatar for SCoder1

save your files in the folder htdocs located here: C:\xampp\htdocs

Member Avatar for sting23
0
88
Member Avatar for Flufferman

Yeah 'and' will work e.g. [CODE]'SELECT * FROM team_members WHERE name = " ' . $variable . ' " AND team = " ' . $second_variable . ' "';[/CODE]

Member Avatar for daryll1
0
117
Member Avatar for daryll1

Hi, The problem is that a Uni I am creating a PHP/MySQL based game. I have got it working for multi user movement and picking up objects but the trouble im having is implementing the puzzles into it. I have the user table which has my puzzles as: puzz_1, puzz_2, …

Member Avatar for daryll1
0
100
Member Avatar for daryll1

For some reason this is killing me, I am trying to update the field available to '-1' and don to '0' when the user submits the correct string into the input box, the thing I cant work out is why available wont update but don will the code is below …

Member Avatar for daryll1
0
104
Member Avatar for daryll1

Ok so heres the problem, my girlfriends laptop (toshiba satellite L100-170) will not start, it's very tempermental sometimes it will and sometimes it won't. If it was a PC I would go straight for a short on the motherboard but I'm not sure will be that :/ If you take …

0
53
Member Avatar for anu.reka85

Kate or Bluefish are both good for Linux, I prefer Kate since I had some issues with Bluefish's syntax highlighting failing. I would recommend using something basic like one of these which wont help with your code to start with, then you'll actually learn it rather than rely on the …

Member Avatar for Member #120589
0
165
Member Avatar for daryll1

Sorry if I don't make this too clear, what I'm doing is creating a text based adventure game in PHP, a lot like Colossal Cave. I do not want to recreate my databases for every user so I hoping to write all the user date into a file and read …

Member Avatar for daryll1
0
134
Member Avatar for daryll1

Hi, for one of my projects at uni i have to create a PHP based text game, i am basing mine on the colossal cave game. i am trying to use the explode function to split my string up into variables to check against my database but am getting the …

Member Avatar for daryll1
0
832
Member Avatar for daryll1

I am writing a PHP registration form but when i view my page i cannot see the form, any ideas all my code is below. i have noticed that if i remove the [CODE]print '<h1> Please Register To Continue </h1>'; print '<style type="text/" media="screen> .error { color: red; } </style>';[/CODE] …

Member Avatar for daryll1
0
167

The End.