-
Posts
151 -
Joined
-
Last visited
Never
About dewey_witt
- Birthday 06/25/1973
Profile Information
-
Gender
Not Telling
-
Location
Somewhere Hot
dewey_witt's Achievements
Member (2/5)
0
Reputation
-
use a txt file write input to the text file draw input back out of txt file print to frame auto refresh the frame every .2 second disable refresh sound with java script. real time chat with .txt base filing chron job to wipe the file clean every ten minutes or so. most of this you can do with PHP but some things would have to be handled via java like refreshing just the frame and not the whole page. Also java would be needed to go to the end of that doc instead of starting at the beginning. I've actually seen this done 0nce or twice. I'll look for the source and post a link if i find it in a timely manor.
-
OK may be an amateur question.... I haven't done it before so don't know if you can. I Have e a .txt. document with data in it as such: I would like to take this data and break it down into sections and enter it into a database like This: Field 1: Slither Field 2: BB Field 3: when you play this card take and extra turn after this one. A. Is it possible? and B. If so how ya do it? Please show me 'ol great ones...
-
Anyone see whats wrong with this? I can't.....
dewey_witt replied to dewey_witt's topic in MySQL Help
After commenting out all the connection includes etc. accept for the post data handeling.... the result of echo = So it is parsing.... maybe its my hosting. I've never had this issue before even with a simple query like this. -
Anyone see whats wrong with this? I can't.....
dewey_witt replied to dewey_witt's topic in MySQL Help
UPDATE user_pro SET real_name='$real_name', location='$loc', signature='$sig' WHERE user_name='$user_name' lol Like this. -
Anyone see whats wrong with this? I can't.....
dewey_witt replied to dewey_witt's topic in MySQL Help
ok... wrapped it with quotes as I should have to begin with yet still the same drab error message telling me that I've included a " <-- quotation mark near line 1 that is throwing the query syntax off. Still boggled. <?php $sql ="UPDATE user_pro SET real_name='$real_name', location='$loc', signature='$sig' WHERE user_name='$user_name'"; ?> -
Create two different query's one for if the city has been selected also one if it hasn't something like this should work.... <?php if(empty($_POST[city])) { $iffy = "SELECT * FROM table WHERE region= region = '$region_id' $max'"; } else { $iffy = "SELECT * FROM table WHERE region = '$region_id' AND city ='$city_id' $max"; } $data_p = mysql_query("$iffy") ?>
-
<?php $sql ="UPDATE user_pro SET real_name='$real_name', location='$loc', signature='$sig' WHERE user_name=$user_name"; ?> I keep getting the error "Check you syntax to use near " in line 1" =/ boggling. I've done this 092387502983475029347 times.... never had this issue.
-
wow the hostility of some of you...... and yeah i made it myself in flash.... looks good too XD STOP BEING HOSTILE! shesh meanies
-
If anyone know where i can get (or can create) A cool gif that looks like blood flying onto the screen then sliding down it.... I would like so love you forever! I plan to put it as play once in a floating div that leave when done playing. Please if you can help I'd appriciate it.
-
DUDEEEEEEEEEEEEEEEEEE IIIIIIIII LOVEEEEEEEEEE YOUUUUUUUUUU XDXDXDXDXD <? $sql = "SELECT * FROM 'phpfreak' where 'clue' > '0';"; ?> Output: YOUUUUUUUUUUUUUUUUU XD
-
ok lololol.... their is post data being passed to the handeling script........ yet the php just isnt picking up what is being laid down. Im not sure why but i cant get any of the post info. This is how i have tried to retrieve and desply it. <? $user = $_POST['user']; echo "$user"; ?> And still nothing......... boggled
-
Herer is my handeling. As you can see this code is also good. Im pretty dang sure its not my coding. Im not that much of a newb XD if you find something let me know, but im relativly sure that this is in the php.ini or http.conf file somewhere. PLZ HELP ME!!!!!!! :'( <?php $user = $_POST['user']; $mail = $_POST['mail']; $pass = $_POST['pass']; $char = $_POST['char']; $ip = $_SERVER['REMOTE_ADDR']; define("MYSQL_HOST", "localhost"); define("MYSQL_USER", "root"); define("MYSQL_PASS", ""); define("MYSQL_DB", ""); //make the db conection $conn = mysql_connect("".MYSQL_HOST."", "".MYSQL_USER."", "".MYSQL_PASS."") or die(mysql_error()); mysql_select_db("".members."",$conn) or die(mysql_error()); $sql = "INSERT INTO members (username, email, password, charName, ip) VALUES ('".$user."', '".$mail."', '".$pass."', '".$char."', '".$ip."');"; $result = mysql_query($sql, $conn) or die(mysql_error()); //echo db created and make members table if($result) { header("Thanx.php"); }else { echo"there was a problem with signup. please see your guild leader."; } ?>
-
OK Below is the form - the html. Its just a basic form. When it gets to the next page where the data is actualy handled.... there is no post data to handle. :-\ i dun get it. Its not just this form. Its ever form i create. <form action="/DATABASE SCRIPTS/mkacct.php" method="post" enctype="multipart/form-data" name="signup" onsubmit="return checkCheckBox(this)"> <input name="user" type="text" size="19" maxlength="19" /> <input name="pass" type="password" size="19" maxlength="19" /> <input name="pass2" type="password" size="19" maxlength="19" /> <input name="char" type="text" size="19" maxlength="19" /> <input name="mail" type="text" size="19" maxlength="19" /> <textarea name="agreement" readonly="readonly" cols="52" rows="10"><? echo "$agreement" ?></textarea> <input type="checkbox" value="0" name="agree"> <input name="submit" type="submit" value="Signup" /> <input name="reset" type="reset" value="Reset" /> </form>