A2xA
Members-
Posts
137 -
Joined
-
Last visited
Never
Everything posted by A2xA
-
Yep, Thanks for the help
-
I found one called viking-normal. How does that look? You may need to hard refresh (ctrl-f5)
-
Thank you Do you have any recommended font?
-
http://battlewall.com I just opened it yesterday. It has social networking, forums, news, groups, and a lot more. All suggestions are appreciated
-
BattleWall Video Game Social Networking. Beta test please?
A2xA replied to A2xA's topic in Beta Test Your Stuff!
oh nevermind I get it. I'm gona try and setup a strip tags. Do you have any idea why it's doing that? -
BattleWall Video Game Social Networking. Beta test please?
A2xA replied to A2xA's topic in Beta Test Your Stuff!
can you explain a little bit more? -
[SOLVED] problem with usernames that start with numbers. Collation or what type?
A2xA replied to A2xA's topic in MySQL Help
I cross-posted because I didn't know if the problem had to do with mysql or php, and after I posted it here I thought it could've been a php problem, which it was. It had to do with .htaccess Thanks though -
[SOLVED] Problem verifying usernames that start with a number.
A2xA replied to A2xA's topic in PHP Coding Help
Thanks a lot I found it -
I have it where the users profile is at /users/username. The script does this.. WHERE userUser = "' . $user . '"'; This works fine with any username that dosen't start with a number. I'm wondering what the problem is. Also, the mysql table is varchar and is stored fine with numbers and letters. You can even see this problem at http://battlewall.com Thanks!
-
In my script it gets the users username and does a.. WHERE userUser = "' . $user . '"'; This works fine for every user except ones that have there usernames start with any number. userUser's mysql info is.. Field Type Collation Attributes Null Default Extra userUser varchar(16) latin1_swedish_ci No It's also stored fine. Just verifying the WHERE is not working. Thanks :-\
-
Battlewall Just Finished. (BETA) Find any bugs/test please
A2xA replied to A2xA's topic in Beta Test Your Stuff!
Ha yep I was going for a simple twitter like look I'm going to delete all of the spam posts once you are done testing with the beta account -
Try <?php $x = $_GET['x']; echo $x ?>
-
Battlewall, online video game and online matchmaking community. I just finished coding the beta of the site and have not spread to public yet and wanted some comments and critiques. Thanks! login: beta password: beta http://battlewall.com
-
the session worked perfectly thanks a lot!
-
It's the chat.php page that has all of the javascript functions for the chat script. Here's the whole form that is sending info to the chat.php page. <div id="chat">Connecting...</div> <input id="message" type="text" size="53" maxlength="100" onkeyup="keyup(event);" /> <input type="button" value="Submit" onclick="chat_write();" /><br /> <script language="JavaScript" type="text/javascript" src="./chat.php?hubid=<?php echo $hubid ?>"> All i need in the chat.php page is the variable passed from this page.
-
no, the hub.php page is trying to pass the variable to the chat.php page.
-
In the script I have two files the hub.php file and the chat.php file. The hub.php file has the form and style where the chat.php has the code. In the chat.php file it creates a text file. I need the variable from the hub.php page passed to the chat.php page for the name of it. In the hub.php page I've got.. <?php $hubid = $_GET['hubid']; //Some Code ?> <script language="JavaScript" type="text/javascript" src="./chat.php?hubid=<?=$hubid?>"> </script> In the second chat.php page I've got.. <?php $hubid = $_GET['hubid']; $hubid2 = $hubid; // Path to the text files holding the chat window content $fn = $hubid2.txt; ?> This is not working and I was wondering how to pass the variable. If someone could help I would greatly appreciate it.
-
Yep. Thanks a whole lot. I tried those and on my chat.php page I put a $hubid = $_GET['id']; And the chat is generating a txt file so I'm putting this code $fn = $hubid.txt; It's just creating a .txt file. I'm not sure how I grab the variable :-\
-
I'm using a chat script I've made and the script has 2 seperate files the hub.php and the chat.php page. The hub.php has the form and sends the info to the chat.php page where it adds to the chat. I need the hub.php to send a variable through javascript to the chat.php on page load and not on the form submit. What I'm passing is the page id.. Example: http://mysite.com/hub.php?id=dkjhf3883 What could I add here? I've got the id defined as $hubid in php. <div id="chat">Connecting...</div> <input id="message" type="text" size="53" maxlength="100" onkeyup="keyup(event);" /> <input type="button" value="Submit" onclick="chat_write();" /><br /> <script language="JavaScript" type="text/javascript" src="./chat.php"></script> Thanks! if you need more of the script or don't understand feel free to ask.
-
[SOLVED] My sql insert script isn't inserting? no errors
A2xA replied to A2xA's topic in PHP Coding Help
tight it works. Thanks! -
[SOLVED] My sql insert script isn't inserting? no errors
A2xA replied to A2xA's topic in PHP Coding Help
Thanks. I'm not sure what you mean by that. Can you give me an example as to what I'm doing? -
[SOLVED] My sql insert script isn't inserting? no errors
A2xA replied to A2xA's topic in PHP Coding Help
I got this error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'a-3@inbox.com)' at line 2 I'm getting somewhere now. The a-3@inbox.com is the e-mail I used in the registration. -
[SOLVED] My sql insert script isn't inserting? no errors
A2xA replied to A2xA's topic in PHP Coding Help
Oh wow, I thought I had that on the end. Thanks, I'll come back after I get an error.