Jessica
Staff Alumni-
Posts
8,968 -
Joined
-
Last visited
-
Days Won
41
Everything posted by Jessica
-
Read the link in my signature on debugging SQL. You need to use mysql_error()
-
You're not checking to see if the query failed (which it clearly did) See my signature. Also look up the syntax for mysql update because you have at least one major error.
-
Your query looks awful. Do you know about JOINS?
-
Moving this to Misc.
-
storing and displaying image from database via filepath
Jessica replied to Drumlegend's topic in PHP Coding Help
Sure I am, I just don't care if anyone else thinks so :-P- 29 replies
-
social networking sites data + database storage
Jessica replied to icode919's topic in PHP Coding Help
The same way you would save any other data to a database. What database engine do you want to use? -
Given your edit, I think your first thought is a stretch too OP: when the register or change password, store when that happened. Then go from there.
-
Move it out of the web root.
-
storing and displaying image from database via filepath
Jessica replied to Drumlegend's topic in PHP Coding Help
Jazzman. That is WHAT I SAID. That was my point. Thanks for making it over and over again.- 29 replies
-
social networking sites data + database storage
Jessica replied to icode919's topic in PHP Coding Help
Sites like that will have an API. -
You realize that IP address is not a good way to identify someone right? What if two people in the same house sign up? What if someone signs up at work then at home? What if they have a dynamic IP?
-
storing and displaying image from database via filepath
Jessica replied to Drumlegend's topic in PHP Coding Help
Again ... That is exactly what I said! What is wrong with this thread?- 29 replies
-
... This is a forum, not an IDE
-
storing and displaying image from database via filepath
Jessica replied to Drumlegend's topic in PHP Coding Help
Jesus Christ. That is exactly what I SAID TO DO- 29 replies
-
storing and displaying image from database via filepath
Jessica replied to Drumlegend's topic in PHP Coding Help
Seriously? So on my machine, the full path of an image is C:\wamp\www\project\web\images\image.png. My "web root" or the equivalent of public_html is C:\wamp\www\project\web Are you trying to argue that the image url should be: C:\wamp\www\project\web\images\image.png and not images/image.png? Because if so my computer and every other one I've ever developed on must be special.- 29 replies
-
storing and displaying image from database via filepath
Jessica replied to Drumlegend's topic in PHP Coding Help
If you want to store an image path to display the image in HTML, that IS the path you want.- 29 replies
-
How to list all the items dynamically in an explode array
Jessica replied to justin7410's topic in PHP Coding Help
http://php.net/foreach -
Psycho's post at the end of this thread is quite good. http://forums.phpfreaks.com/topic/276705-how-to-make-td-data-spacing-below-if-the-browser-need-to-scroll/?fromsearch=1
-
storing and displaying image from database via filepath
Jessica replied to Drumlegend's topic in PHP Coding Help
Jesus what's with the carriage returns? Look, if you tried it and it didn't work, that's a lot more to go on than just saying you don't know what to do. What didn't work about that method? Having a file path in a database is absolutely NO different from the code I posted. A database is one thing, PHP is another, HTML is another. Your end goal is to print an image in HTML. That IS simple.- 29 replies
-
So add the children selector...
-
php if(mysql_num_rows(mysql_query("$SELECT")
Jessica replied to RonnieCosta50's topic in PHP Coding Help
You're welcome Newbie. Please use code tags in the future. -
mail() returns a boolean. However, it does only ensure it was sent, not recieved.
-
storing and displaying image from database via filepath
Jessica replied to Drumlegend's topic in PHP Coding Help
PHP echos HTML. If you have the path, just echo the HTML for the image tag. It's not as complicated as you guys are making it. <?php $img = 'mydir/myimg.png'; echo '<img src="'.$img.'">'; ?>- 29 replies
-
Cool story bro.