Jessica
Staff Alumni-
Posts
8,968 -
Joined
-
Last visited
-
Days Won
41
Everything posted by Jessica
-
So, echo the query and try running it in mysql or phpmyadmin and see the result. Also, your code is horrible to try to read.
-
You need to try first. Do you understand how PHP functions work? It has nothing to do with your query.
-
Pm = pk (thanks iPhone) = primary key
-
You're not checking for mysql errors at all. Something somewhere could be failing. Ps: it's generally a good idea to apply a limit 1 to a delete if not using a pm.
-
array_reverse
-
Without seeing any of your code, no, I can't tell you how to write it in functions. Look for a PHP functions tutorial.
- 14 replies
-
It might be easier to implement single sign on.
-
Captcha code not showing the image in register.php
Jessica replied to justin7410's topic in PHP Coding Help
You can't just convert a font by changing the name.- 10 replies
-
Specific search query using php and database array
Jessica replied to lewisia2010's topic in PHP Coding Help
For once the forum software was useful :-P This isn't exactly your question, but please read it and see if you can figure out how to change your approach. http://forums.phpfreaks.com/topic/274119-matching-a-one-to-many-relationship-exactly/ -
Specific search query using php and database array
Jessica replied to lewisia2010's topic in PHP Coding Help
Dear lord. You are going about that in the wrong way. I'm going to have to look back a ways but I posted a question a few months ago and Barand helped me out, let me find it. It will help you. -
Insert. Tuh. Not inser.
-
Nearest - your best bet is to find an existing database that relates post codes to lattitude and longitude. I've done this with US zip codes, never tried UK. You can import that data into your program. Another option is to use something like Google Maps API to calculate the routes. I've also done that and it works well.
-
What do you mean by compare them? Because as you pointed out, your two examples don't have much in common. What are you looking for?
-
Best way to grab all info from one mysql row?
Jessica replied to dannyb785's topic in PHP Coding Help
YOU ASKED FOR SOMEONE TO SAY YES OR NO Are you on DRUGS man? -
There is nothing in your code about inserting into a database. You know, you can just... Echo the text. You don't have to put it in an input box. Wtf is your question?
-
It shows up on my iPhone. Are you using a browser with Adblock?
-
Images are missing in mobile view again.
Jessica replied to Jessica's topic in PHPFreaks.com Website Feedback
Yes it is!! Thanks -
Images are missing in mobile view again.
Jessica replied to Jessica's topic in PHPFreaks.com Website Feedback
The checkbox for the "like" action, the icon in the top right, and the 8 icons that are supposed to be in there for new content, mark all read, etc. -
Images are missing in mobile view again.
Jessica replied to Jessica's topic in PHPFreaks.com Website Feedback
iOS 6<br />Safari<br /><br />Yeah all the icons are gone for me. -
You're going to have to post more code. However you really should re-write the code. Rather than including files and relying on the procedural code you should convert this into functions or even clsses.
- 14 replies
-
Captcha code not showing the image in register.php
Jessica replied to justin7410's topic in PHP Coding Help
Debug it. Go to the image directly, comment out the header, turn on error reporting and see what's wrong.- 10 replies
-
Images are missing in mobile view again.
Jessica replied to Jessica's topic in PHPFreaks.com Website Feedback
So... Is it just me? Cause they're still missing. -
If you have indexes on the tables of the right kind, it shouldn't be that big a deal.