User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 427,046 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,568 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 34 of 34
Search took 0.01 seconds.
Posts Made By: dottomm
Forum: HTML and CSS 25 Days Ago
Replies: 3
Views: 2,368
Posted By dottomm
Re: This page is not Valid HTML 4.01 Transitional!

You know I agree with Zachery fully, but unfortunately my job required that all our pages pass the W3c validator and I tell you, I wish I had too much time on my hands.

My big problem right now is a...
Forum: MySQL Aug 27th, 2008
Replies: 24
Views: 631
Posted By dottomm
Re: Query help

Thank You! Thank You!
If only you could see the back flips I'm doing now.

It was two things;
one of the avatar should have been avatar(s) and the ticks around the user_id.

I'm really grateful....
Forum: MySQL Aug 27th, 2008
Replies: 24
Views: 631
Posted By dottomm
Re: Query help

SO yea, I thought that is what you meant. I put the query into a variable and called the variable with an echo

and got back this:

select ma.user_id, ma.memberfname, ma.memberlname, ma.avatar_id,...
Forum: MySQL Aug 27th, 2008
Replies: 24
Views: 631
Posted By dottomm
Re: Query help

Yes, I understand about only getting back one record. That is as I hoped.

I'm still confused. Did I not terminate the statement with a semicolon?
And to store the query in SQL??? Would that...
Forum: MySQL Aug 27th, 2008
Replies: 24
Views: 631
Posted By dottomm
Re: Query help

Again, Thank you for all of your time, but I regret to say I'm getting the error "not a valid MySQL result resource"

Here is the exact statement I entered.

$result=mysql_query("select ...
Forum: MySQL Aug 27th, 2008
Replies: 24
Views: 631
Posted By dottomm
Re: Query help

Thanks for all your help. I really appreciate it.

I would like to consolidate it . I just had a realization of why the pic shows up when there is one associated with the user.

I'm doing two...
Forum: MySQL Aug 27th, 2008
Replies: 24
Views: 631
Posted By dottomm
Re: Query help

Yes. There is an pic for avatar_id=1.

Do I need to call avatars.pic in my query?
Forum: MySQL Aug 27th, 2008
Replies: 24
Views: 631
Posted By dottomm
Re: Query help

Yes, It is a file path to the picture.

If I change back the select statement to:

$result=mysql_query("select
members.user_id,...
Forum: MySQL Aug 27th, 2008
Replies: 24
Views: 631
Posted By dottomm
Re: Query help

Wow! Okay. So , with that select statement, and putting
{$row['avatar_id']} in the echo statement I can see all the members and their avatar_ids

All members who do not have an avatar, print an...
Forum: MySQL Aug 27th, 2008
Replies: 24
Views: 631
Posted By dottomm
Re: Query help

Thank you again Dickersonka,

I thought I had, as you suggested, but I'm still not making a connection to the avatars table.

Here's my table layout

Avatars
-------------------------------
avatar_id...
Forum: MySQL Aug 27th, 2008
Replies: 24
Views: 631
Posted By dottomm
Re: Query help

Thank you too varmadba.

And like dickersonkas solution, I think I'm getting close with your suggestion too, but I get a blank response. (which is better than a bad query)

I called all the columns...
Forum: MySQL Aug 27th, 2008
Replies: 24
Views: 631
Posted By dottomm
Re: Query help

Thanks dickersonka,

left joins are pretty new to me, but I think I got pretty close with:


$result=mysql_query("select
members.user_id,...
Forum: MySQL Aug 26th, 2008
Replies: 24
Views: 631
Posted By dottomm
Query help

Thanks in advance for anyone who can help me with this query.

I want to select all from table one and the matching image from table two.

Using the following inner join query works great:

...
Forum: MySQL Aug 6th, 2008
Replies: 6
Views: 390
Posted By dottomm
Re: Count Comments?

Yes! That is exactly what I am trying to do. Thank you for understanding.

However, I am stumped by how to display the 'comment_cnt'. I've not used the 'AS' statement before. How do I pass that as a...
Forum: MySQL Aug 4th, 2008
Replies: 6
Views: 390
Posted By dottomm
Re: Count Comments?

Again, thank you, but no luck.

I'm not sure what is wrong.

As an example, it would be like how the Topic/Threads listed on this site.

Thread Name | Replies | Views

I'm sure that info all lives...
Forum: MySQL Jul 31st, 2008
Replies: 6
Views: 390
Posted By dottomm
Re: Count Comments?

Thank you Shanti for your help, unfortunately that isn't quite what I am trying to do. Instead of counting how many stories are posted, or how many comments are posted, I want to know how many...
Forum: MySQL Jul 30th, 2008
Replies: 6
Views: 390
Posted By dottomm
Count Comments?

Hi, Thanks in advance for any help someone could offer.

I'm trying to display a list of stories submitted to my site from a table titled stories, the name of the person who submitted the story and...
Forum: PHP Jun 5th, 2008
Replies: 2
Views: 867
Posted By dottomm
Forum: PHP Jun 4th, 2008
Replies: 2
Views: 867
Posted By dottomm
help with checkbox array - Trim Variable Function getting in the way

Hello -

I'm new to inserting checkbox arrays into mysql tables. After scouring the web for two days I've found a solution using 'foreach', and it is inserting the data into the table correctly...
Forum: PHP May 23rd, 2008
Replies: 3
Views: 624
Posted By dottomm
Re: Undefined index error

DOH!
Thank you!! Thank you! It works now!
Forum: PHP May 22nd, 2008
Replies: 3
Views: 624
Posted By dottomm
Undefined index error

Hello.

I'm getting an undefined index error with the following code and I can't for the life of me figure out why. Any insight would be greatly appreciated.

I'm using an html form and a PHP file to...
Forum: PHP Apr 30th, 2008
Replies: 4
Views: 333
Posted By dottomm
Re: Search Help

Thank you so very much. That is exactly what I was looking for!!!
Forum: PHP Apr 24th, 2008
Replies: 4
Views: 333
Posted By dottomm
Re: Search Help

Thank you for your quick reply, but what I'm doing is using a select menu to choose what field the search query is looking in. However, I would like the select menu value to equal multiple...
Forum: PHP Apr 23rd, 2008
Replies: 4
Views: 333
Posted By dottomm
Search Help

Hi. I'm trying to search multiple DB fields with a Select Menu and I don't know where to start.

for example, from the code below I would like the value ='strAuthorname' to actually search the...
Forum: PHP Apr 9th, 2008
Replies: 10
Views: 790
Posted By dottomm
Re: Trouble with password recovery emal script

Yes! Yes! Yes! Thank you. This has been a true learning experience.

I really appreciate everybody's help. Thank you.
Forum: PHP Apr 8th, 2008
Replies: 10
Views: 790
Posted By dottomm
Re: Trouble with password recovery emal script

Now after some testing last night, that no, I am not sure it is working. (Thank you ShawnCplus).

So I guess my question is how do I retrieve the 'teampassword' and set it as a variable? What am I...
Forum: PHP Apr 7th, 2008
Replies: 10
Views: 790
Posted By dottomm
Re: Trouble with password recovery emal script

Thank you for replying, however the getvar script seems to be working as it display's the correct variables in an echo statement on the web page, just not in the email.

Here is the getvar...
Forum: PHP Apr 7th, 2008
Replies: 10
Views: 790
Posted By dottomm
Trouble with password recovery emal script

Hello and thanks in advance to anyone that can help. I trying a simple password recovery script that emails the password after a registered user enters their email. For testing purposes I have been...
Forum: PHP Apr 2nd, 2008
Replies: 7
Views: 431
Posted By dottomm
Re: update' select menu

Again, Thank you.

I'm afraid I understand a little of what you are suggesting to do.

I do not want the form to submit on change.
Can you explainhow to "Check if it matches". I'm doing U.S states...
Forum: PHP Apr 2nd, 2008
Replies: 7
Views: 431
Posted By dottomm
Re: update' select menu

First, let me say thank you for such rapid responses.

I apologize. I'm probably not explaining myself correctly.

I do not have any trouble updating the record with the select menu, what I can't...
Forum: PHP Apr 2nd, 2008
Replies: 7
Views: 431
Posted By dottomm
Re: update' select menu

I'm sorry. I using php to update a mysql db.
Forum: PHP Apr 2nd, 2008
Replies: 1
Views: 401
Posted By dottomm
'update' select menu

Thank you in advance to anyone who can answer this for me.

In a registration form of mine the user selects the state they live in with a drop-down menu.
In the 'Update' form I would like their...
Forum: PHP Apr 2nd, 2008
Replies: 7
Views: 431
Posted By dottomm
update' select menu

Thank you in advance to anyone who can solve this for me.

In a registration form of mine the user selects the state they live in with a drop down menu.
Forum: HTML and CSS Feb 8th, 2008
Replies: 26
Views: 11,351
Posted By dottomm
Re: To create a registration page and login page

I too am getting the "Sorry, could not log you in. Wrong login information." error. I've changed the password field to VARCHAR 25.

Additionally, when I do the register.php page There is no error...
Showing results 1 to 34 of 34

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