Jump to content

Recommended Posts

Hi, can you tell me what is the problem you are receiving? Seems you don't want to give too much information away .. more fun this way?  might be why nobody is helping you.

 

Thank you

 

add trigger_error (mysql_error()) to the end of your query and rerun:

 

$result = mysql_query("SELECT * from webid_auctions where closed = '1' and sold = 'n'  and user ='" . $user->user_data['id'] . "'", $conn) or trigger_error (mysql_error());

Link to comment
https://forums.phpfreaks.com/topic/184089-code-misspelt/#findComment-971890
Share on other sites

Nobody wants to help me
Thats because you are not providing any relevant information.

 

We are not standing right beside you, so unless you tell us what error, symptom, or problem you are having when you try your code, no one can help you.

Link to comment
https://forums.phpfreaks.com/topic/184089-code-misspelt/#findComment-971891
Share on other sites

k, i'll pry a little more, seeing as how giving meaningful information is not your forte.

 

is $user->user_data['id'] defined/set?

 

is $conn defined/set?

 

is there a table called `webid_auctions` in your database?

 

do you have a database setup?

 

are there fields called `closed`, `sold`, and `user` in your database?

 

and an important one...did you add:

 

 or trigger_error (mysql_error());

 

to the end of your query like i suggested an hour ago:

 

$result = mysql_query("SELECT * from webid_auctions where closed = '1' and sold = 'n'  and user ='" . $user->user_data['id'] . "'", $conn) or trigger_error (mysql_error());

Link to comment
https://forums.phpfreaks.com/topic/184089-code-misspelt/#findComment-972008
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.