No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
11 Posted Topics
[code=php] $query = "SELECT sub_id FROM raters WHERE Name = '$tr_name' AND Email = '$tr_email' " or die(mysql_error()); $result = mysql_query($query);[/code] 1. your query should be [code=php]$query = "select sub_id from raters where name = '$tr_email' and email = '$tr_email'"[/code] 2. your query execution statement should be [code=php]if(mysql_query($query)){//do stuff }else{die("Could …
[QUOTE=shujjah;398632]what noone? in such a big communtiy no one?[/QUOTE] make your own? look in the tutorials area...
Want to download a .tar.bz2 and extract, then run the file into the database. Eventually I will be setting up some sort of a crontab job thingmebob, but for the moment, I want to be able to extract the files successfully. I have not touched on streams or system before, …
[quote=digital-ether;333737]I'd still indent all my code and include as much whitespace as I could. Then I'd have the server buffer HTTP output and remove all indents and whitespace. The manager will never know.. :cheesy: I've used mostly PHP and JavaScript (4 years) which are not strict with their variable types. …
[quote=sibboz;337832]hi everybody, I help out with my mates gaming site, it caters for PC xbox 360 and PS3 gamers, with ladders and tournaments. But what I'm looking for is a league display script so that results can be shown in a table format, with fully editable coloumn titles so that …
i found a good one to be a forum, and a script to pull data straight from the database :)
[quote=rgtaylor;334419]We could comment better if you showed us a code sample so we could understand exactly how you implemented it, rather than assuming things from your post above. However, one danger here is the term "fixed width"... if you want to fix widths, there are a large number of ways …
[quote=tintinz;332999]do it with AJAX :)[/quote] easiest way, and you don't need to refresh any part of the page either... using javascript, you can use a div or iframe & set a timer to refresh that part of the screen at x amount of mins/hours.
Either the error code and line with more detailed code, or the code from the page itself. But, if you opened up a {, you must close it with another }, try putting that inbetween the [code]<?php & ?>[/code] tags...
[quote=VanPetrol;335158]Pseudo code (as far I know) is basically like this: [code] If the user did not enter his name Warn user by message box Focus on name textbox exit the method If the user did not enter a password Warn user by message box Focus on password textbox exit the …
the easiest way is to setup a database if you have access, create a form that sends the login information from the session [code]$ARG['userid'] = $_SESSION['userid']'; $ARG['write'] = $_SESSION['level'];[/code] or something, and then in your php use something like [code]$sql = "SELECT * FROM notes WHERE `userid` = '".$ARG['userid'].'" ORDER …
The End.
justinm