Forum: PHP Jul 5th, 2007 |
| Replies: 3 Views: 1,180 make your own?
look in the tutorials area... |
Forum: PHP Jul 5th, 2007 |
| Replies: 43 Views: 175,557 the problem with that query is his use of a class object in the query $this->user this should be at the very least sanitised to avoid query issues.
But then again... |
Forum: PHP Jul 5th, 2007 |
| Replies: 43 Views: 175,557 $query = "SELECT sub_id FROM raters
WHERE Name = '$tr_name'
AND Email = '$tr_email'
"
or die(mysql_error());
$result = mysql_query($query);
1.
your query should be
$query = "select sub_id... |
Forum: PHP May 7th, 2007 |
| Replies: 3 Views: 2,725 the files within the tar/gz are .csv files, with /t seperators.
I already have the script to read the files, and add them to the database, I want to know how to extract the .csv's from the... |
Forum: PHP May 3rd, 2007 |
| Replies: 3 Views: 2,725 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... |
Forum: JavaScript / DHTML / AJAX Apr 24th, 2007 |
| Replies: 35 Views: 8,849 <?php because you won't always know if the sever is using apache, and if it has short tags on. |
Forum: PHP Apr 5th, 2007 |
| Replies: 2 Views: 2,724 i found a good one to be a forum, and a script to pull data straight from the database :) |
Forum: PHP Apr 3rd, 2007 |
| Replies: 2 Views: 2,148 make your own script, you will need a database, the proper fields, a select statement, and a 'while' statement to populate the table.
www.hotscripts.com has some good tutorials, same with... |
Forum: HTML and CSS Mar 29th, 2007 |
| Replies: 18 Views: 4,163 640x480 14" damn! that is plain awful!
haha yeah, first thing i do after setting up and installing network is straight away to firefox to get latest version, the MS updates.
Centred is the way... |
Forum: PHP Mar 28th, 2007 |
| Replies: 2 Views: 3,015 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 <?php & ?>... |
Forum: HTML and CSS Mar 28th, 2007 |
| Replies: 18 Views: 4,163 I do also expect users to resize my pages, however I prefer it if the information does not get squashed or mangled/deformed. When I design something, I design it a specific way, and I dislike the... |
Forum: JavaScript / DHTML / AJAX Mar 28th, 2007 |
| Replies: 35 Views: 8,849 Yes that is true, it is easier to read and pickup on other coders style if they are clean and have good consistent naming convention, and at least some consistency throughout the project. My biggest... |
Forum: JavaScript / DHTML / AJAX Mar 28th, 2007 |
| Replies: 35 Views: 8,849 I absolutely agree with this.
I have worked in PHP now for several months, Java about a year, C++ a few months, and I have found that apart from the awful mess of HTML indenting (3 nested tables,... |
Forum: HTML and CSS Mar 28th, 2007 |
| Replies: 18 Views: 4,163 true, you can desgign fixed width websites without needing to be centered, just preferred left aligned, and at least 800wide.
best sizes these days are 800-1024 wide, and a lot of sites that are... |
Forum: PHP Mar 28th, 2007 |
| Replies: 3 Views: 930 in code...
if(empty($_POST['username'])){
echo "Sorry, you need to enter a username.";
//do focus here
exit();
if(empty($_POST['password'])){
echo "You need to enter a password.";
// do... |
Forum: PHP Mar 28th, 2007 |
| Replies: 9 Views: 2,574 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. |
Forum: PHP Mar 28th, 2007 |
| Replies: 1 Views: 768 the easiest way is to setup a database if you have access, create a form that sends the login information from the session
$ARG['userid'] = $_SESSION['userid']';
$ARG['write'] =... |