User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 429,950 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,462 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Showing results 1 to 9 of 9
Search took 0.01 seconds.
Posts Made By: Astegiano
Forum: PHP Oct 10th, 2006
Replies: 8
Views: 1,480
Posted By Astegiano
Re: Help Needed

Yes, you are right and I made a mistake in the query I wrote. It should be:

$getopp="SELECT * from a_pokemon where Pokemon='".$getuser3[Opponent]."'";
Forum: PHP Oct 10th, 2006
Replies: 5
Views: 1,302
Posted By Astegiano
Re: MySQL error showing when they shouldn't

I found the error... it was stupid. Somehow the variable in wich I was trying to put the result of the query had alredy another result and that caused some kind of problem.
Thank you everybody!!
Forum: PHP Oct 9th, 2006
Replies: 5
Views: 1,302
Posted By Astegiano
Re: MySQL error showing when they shouldn't

I alredy tryed echoing the query and executing it in phpmyadmin and it works. I printed the result of the query when I'm not logged in and it's 6 , but when I'm logged in it became 8. I tryed...
Forum: PHP Oct 9th, 2006
Replies: 8
Views: 1,480
Posted By Astegiano
Re: Help Needed

Try to write the line like:

$getopp="SELECT * from a_pokemon where Pokemon=".$getuser3[Opponent];


I dont suggest switching between ' and " . You should decide wich one you prefer and always use...
Forum: PHP Oct 3rd, 2006
Replies: 5
Views: 1,302
Posted By Astegiano
Help MySQL error showing when they shouldn't

Hello,
I'm building a website like MySpace, the address is http://pantarei.awardspace.com (http://pantarei.awardspace.com/) the website is wrote in Italian. It has members customizable profiles,...
Forum: PHP Jun 22nd, 2006
Replies: 5
Views: 1,309
Posted By Astegiano
Re: Redirecting - Newbie Question

The best way to set authorization for each page is to use the sessions. The best way to do it is to set two sessions variable: one that contain the level of authorization (for the normal users 1, for...
Forum: PHP May 29th, 2006
Replies: 4
Views: 2,890
Posted By Astegiano
Re: mysql errors, from submit.php and index.php

The problem is in the sintax of the if statement. When you write a if clause with two argument you shoulw write it like

if ( (firt argument) || (second argument) )

I think that's the problem with...
Forum: PHP May 29th, 2006
Replies: 4
Views: 1,214
Posted By Astegiano
Code

The code of the session handler is
<?php
// Create a connection to the database
function mysql_session_open($session_path, $session_name) {
global $conn;
$conn=mysql_pconnect("localhost", "admin",...
Forum: PHP May 28th, 2006
Replies: 4
Views: 1,214
Posted By Astegiano
Users management

I'm building a website for me and my friends that should include a forum and a chat. I'm developing the list of the friend but I don't know how to display wich users are online and which not. The...
Showing results 1 to 9 of 9

 
All times are GMT -4. The time now is 11:16 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC