Jessica
Staff Alumni-
Posts
8,968 -
Joined
-
Last visited
-
Days Won
41
Everything posted by Jessica
-
$values = mtgox_query('0/getFunds.php'); echo "USDS: ".$values['usds'].' BTCS: '.$values['btcs'];
-
No, you just said you want it like this forum's system. Hotmail is an email service. That is real email. You use an email address like name@hotmail.com. When you send someone a PM on this forum, you don't use their email address. You use their username and click a link and go write your message. The forum may forward that TO your email, which is completely different. That is just like sending any other mail using PHP. Again. Explain WHAT you want. Be specific. Use the correct terminology.
-
That's not email. It's private messaging.
-
Do you actually mean email like soandso@domain.com, or do you MEAN private messaging?
-
That answer makes no sense. So you created your own forum? You coded in PHP? Yet you have NO IDEA where to start to create a PM system?
-
If you've created a forum, what is confusing about creating a private message system, to the point that you don't know where to start? Or is this a third-party forum? What forum software doesn't come with PMs?
-
I Can't See What Is Wrong With My Add, Edit, Delete Script.
Jessica replied to xymalf99's topic in Third Party Scripts
1. Use code tags. 2. Go change your username and password. It doesn't matter that you hid some of the characters. Go do it now. 3. Post the RELEVANT sections and explain your problem. In more than one vague sentence. -
Add a third option to the list. Write code that checks if the value submitted is equal to whatever you have named the third option. If the value is equal, then don't add the column inex to the query. If it is NOT that third option, add that column with the chosen option. Try to write some code and then we can help you fix it if it still doesn't work. Post the code you've written, including the part that creates the query.
-
Whatever you want. You'll have to write logic that controls whether or not the column is included in the query. Your logic will check that value. It's not automatic, you have to actually write the code yourself.
-
Weird Behavion When Retrieving A String From A Text Field
Jessica replied to p3ndu's topic in MySQL Help
In that case, you'll want to fix the database entries, but if you're happy with it I guess it's not a huge deal. *shrug*. You're welcome. -
Are you seriously asking how to add a THIRD OPTION to this list?
-
Like I said...add an option for both, then check for it. Logic. It works.
-
Weird Behavion When Retrieving A String From A Text Field
Jessica replied to p3ndu's topic in MySQL Help
You're welcome ma'am. You should find the source of where the tags are being converted to entities and fix it there, FYI. -
Weird Behavion When Retrieving A String From A Text Field
Jessica replied to p3ndu's topic in MySQL Help
What's the output of the var_dump? If the <p> tags are showing up on your page, rather than in the source, then the text has already been run through htmlentities. Try doing html_entity_decode on it before removing it. Otherwise, show us exactly what you see. Also, that code doesn't echo anything. Show us the code that echo's the string. -
Remove Region: $key from the echo? Seriously.
-
What is the problem? You don't have a third value in the dropdown, just add one, then check for that value and if it is set to "both" or whatever you choose, then don't include that column in the query.
-
Right. I guess I was just confused because his first query returns the same results because he doesn't have any without 'chester' in them? *shrug*
-
Look at the source of the page. Is there anything? Any whitespace? Do you still have that print_r($array); in there? Did you add the echo $sql part? Post the updated code.
-
It means there is an error being printed to your screen. You can switch to logging errors or what I would usually do for a quick debug is comment out the line that generates the PDF to the screen, ($pdf->Output('Customer Information.pdf', 'I') and put a die() there, then just read the errors.
-
Need Help Making A System Where U Enter A Name And Get To See Details?
Jessica replied to lovephp's topic in PHP Coding Help
If you want advice on the general idea, this belongs in Application Design. If you want code, it belongs in Freelance. If you need help with code you've written, post it and explain the problem. -
Barand, I'm a little confused what your example is supposed to show?
-
You only store the times that are scheduled - start and end times. If nothing is scheduled during a "block", there won't be a row that has those times.
-
I've moved this to MySQL. The simple answer is that LIKE works using wildcards, and can only find matches where the search term is within the result. So LIKE('%Chester%') would match 'Chester City', but LIKE('%Chester City%') will not match 'Chester'.
-
1. Your method doesn't accept any arguments, so it's useless to pass it one. 2. At that point in the code, $type is undefined. Yes.