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

25 Posted Topics

Member Avatar for phouse512

Hello all, I'm working on a comment script to produce a string of XML to be used for one of my ajax applications. However, I cannot figure out how to produce the xml. Assume that the passing of the parent_id variable is working for now. Here's the code I'm using …

Member Avatar for hielo
0
95
Member Avatar for phouse512

Hello all, I have a problem with some AJAX code that I'm working on. There are three different parts to my problem. The goal of this code is to have a a link that says, "Show comments" to display the comments for a post from an admin underneath the update. …

Member Avatar for Airshow
0
340
Member Avatar for phouse512

Hello all, I'm having a problem with having code execute when I'm adding javascript/ajax to my php. When I do the following piece of code, nothing happens. This is just a test line of code, my real code links to more javascript which uses ajax, but I have to figure …

Member Avatar for phouse512
0
210
Member Avatar for phouse512

Hello all, Today I received this as my error: Parse error: syntax error, unexpected T_STRING in /home/a8712935/public_html/admin_members.php on line 60 I've looked all over the internet but I can't find a solution to my problem. There is nothing wrong with that line, but I think it is a problem with …

Member Avatar for Shanti C
0
155
Member Avatar for phouse512

Hello all, I'm making a simple game in minesweeper, and I have a Mine class with a JButton and some other information, namely an x and y variable for its location. In a class called Board, a constructor creates a multi-dimensional array of Mine objects. I tried adding mouselistener to …

Member Avatar for Ezzaral
0
1K
Member Avatar for phouse512

Hello all, I have a decent knowledge of php, but I have no idea how to approach this problem, or even if this requires php for that matter (I'm open to learning what this would require). In a certain area of my website, I have updates/messages from an admin being …

Member Avatar for chrishea
0
65
Member Avatar for phouse512

Hello, I've looked all over for the solution to this problem, but they all present a similar solution to this one and they all don't work. I've created the JFrame in the constructor for the class that this method is contained in. [CODE] public void print() { JPanel panel = …

Member Avatar for phouse512
0
77
Member Avatar for phouse512

Hello, I was working on a small project to make me think, and I ran across a problem when I was running a page. Instead of any error coming up, the page just produced the following, which was part of my code: [code]0 && $user_health > 0) { $monster_health = …

Member Avatar for phouse512
0
72
Member Avatar for phouse512

Hello, Right now, I am working on a little text-based game in PHP, and I am running into some problems with some functions that I defined. The exact error is this: [b] Notice: Undefined variable: level in C:\Program Files\wamp\www\germ\game_functions.php on line 52 Notice: Undefined variable: exp_cap in C:\Program Files\wamp\www\germ\game_functions.php on …

Member Avatar for network18
0
1K
Member Avatar for phouse512

Hello, I've looked on google for information about storing multiple pieces of information in one database column, but I can't find anything helpful. If I want to have some sort of etc. inventory, and there is more than one 'item', how would I store multiple items inside the database? Thanks

Member Avatar for Designer_101
0
109
Member Avatar for Bhuddha
Member Avatar for phouse512
0
112
Member Avatar for phouse512

Hello, I'm a pretty basic php user, and I'm wondering how someone would go about implementing a message system into a website with different users. It doesn't have to be anything specific, I'm just wondering about the basic design of it. Thanks

Member Avatar for SKANK!!!!!
-1
137
Member Avatar for infernojmd

In wordfind.php, when you set the session variables, the session variables should be capitalized like this. [code=php] $_SESSION["key"] = $keyPuzzle; $_SESSION["puzzleName"] = $puzzleName;[/code]

Member Avatar for infernojmd
0
146
Member Avatar for Millsy013

What is the problem? One thing that you could do to make the code better is instead of using the POST array in the actual query, you could clean it up and store it in another variable first, something like: [code=php] $topic_owner = mysqli_real_escape_string($conn, trim($_POST['topic_owner']));[/code]

Member Avatar for network18
0
85
Member Avatar for niche1

For require_once, I thought the syntax was like this: [code=php] require_once('connect_to_mysql'); [/code] And also, couldn't you use this function to connect to MySQL? [code=php] $cn = mysqli_connect("localhost", "user", "pw", "db"); [/code] So to connect and request info from the database you could do something like this [code=php] $cn = mysqli_connect("localhost", …

Member Avatar for kvprajapati
0
504
Member Avatar for rukshilag

You need some sort of username and password verification You could use some sort of MySQL query like this: [code=php] SELECT user_id, username FROM login WHERE username = '$user_username' AND password = '$user_password [/code] And put that in a conditional to see if it checks, and then if it does, …

Member Avatar for phouse512
0
156
Member Avatar for phouse512

Hello, I've been using a book to learn php, and when I try to make it work for my own use, there seems to be an error when I try to login. First it says that the log in is invalid, and it comes up with this warning message: [b]Warning: …

Member Avatar for phouse512
0
233
Member Avatar for phouse512

Hello, I'm learning to start to program in C++, and I have a problem with the prompt closing before the program ends. I know there's a lot of info about it, and I've googled it and searched here, but all the solutions to system("pause") don't work for me. I'm using …

Member Avatar for phouse512
0
105
Member Avatar for moerpheus

Hmmm...Sounds really complex. But first, do you have any work that at least has the basic skeleton of your site?

Member Avatar for moerpheus
0
111
Member Avatar for The'ho
Member Avatar for rexibit
0
98
Member Avatar for greyghost86

I'm not a C++ type person, but at line 44 where you start the if statement, there are no brackets starting and ending that. Also, I think you need brackets for the else statements too. I don't know if that is supposed to be like that though.

Member Avatar for Salem
0
184
Member Avatar for phouse512

I can't seem to get the fopen thing to work, or otherwise, I'm just stupid if it is but I don't know it. Here is the code: [code=php]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <HEAD> <title>Open the file</title> </HEAD> <body> <?php $fp = fopen("http://www.mydomain.org/order.txt", "a+"); fclose($fp); ?> </body> </html>[/code] …

Member Avatar for phouse512
0
111
Member Avatar for phouse512

Hello, I've been wanting to learn C++ but I don't know the difference between Visual C++ and C++, is there really even a difference? Also, what would be the best compiler for me to start off with if I wanted to learn C++? Thanks

Member Avatar for phouse512
0
247
Member Avatar for rtwister
Member Avatar for phouse512

Hello, I am new here, and hope to learn and contribute a lot. Recently, I started learning PHP (about 2 weeks), and now I am coming to the fopen() function. Say that I wanted to create a new file for reading and writing, is this what I would do? [code]$newfile …

Member Avatar for phouse512
0
100

The End.