Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
~2K People Reached
Favorite Forums
Favorite Tags

8 Posted Topics

Member Avatar for wood1e
Member Avatar for DrClue
0
269
Member Avatar for soulman

I have the same issue on my server -- no database priviliges. This is controlled by your system administrator, talk to them. I recently did an install of Mambo, as well. Although the installation instructs you to create a database titled "mambo," this is not necessary. Whatever database you have …

Member Avatar for puddin
0
590
Member Avatar for bgharper

I seem to be having a problem getting this while() loop to work... [PHP]include("database_connect.php"); $query = "SELECT id, title, date FROM entries"; $result = mysql_query($query); while ( $result = mysql_fetch_assoc($result) ) { $id = $result["id"]; $title = $result["title"]; $date = $result["date"]; echo "<div class=\"recent_entries\">"; echo "<a href=\"archives.php?id=" . $id . …

Member Avatar for chrisbliss18
0
110
Member Avatar for ashneet

[QUOTE=ashneet]I am new at php so this might me a dumb question. Is it possible to use part of an include file another words i make an 1 big include file and only use parts of it as needed and not make many include files. Also is it possible to …

Member Avatar for Class
0
310
Member Avatar for Edward655

Anytime you use quotes (") that you want the end user to see, always put backslashes before. If you often forget, I have found you can use single quotes and not have to use backslashes...example... Instead of this...[PHP]<?php echo "Press the \"Back\" button"; ?>[/PHP] You could probably use [PHP]<?php echo …

Member Avatar for Edward655
0
243
Member Avatar for bgharper

I'd like to suppress MySQL errors being printed in the header, so that errors can be passed back into the PHP page... My current code is as follows: [PHP]if ( ! mysql_connect($server, $database_username, $database_password) ) { $error = "There was error when attempting to connect to the specified database server: …

Member Avatar for bgharper
0
149
Member Avatar for ashneet

Which is the better method? GET or POST? I particularly like POST because you don't see information being passed in the address...

Member Avatar for Killer_Typo
0
202
Member Avatar for bgharper

Hi all. I am having a problem I've not encountered before. When using mysql_fetch_assoc() in while(), I am getting the following error: [INDENT][B]Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in archives.php on line 81[/B][/INDENT] However, when taking it out of the while(), it works fine. The …

Member Avatar for Troy
0
191

The End.