Jessica
Staff Alumni-
Posts
8,968 -
Joined
-
Last visited
-
Days Won
41
Everything posted by Jessica
-
A posted variable wont be empty. It will be a string. Not to mention your code is only going through what was actually posted. Edit: damn iPhone! fixed typos.
-
Select one row for each user_id without effecting other columns?
Jessica replied to wright67uk's topic in MySQL Help
And when they match like in your example? -
See my signature.
-
list three websites in this like - "or" operator
Jessica replied to toolman's topic in Javascript Help
Either use an array or do the comparison three times. -
Line 17... So there's a whole bunch of code you didn't post. Like I said - the code YOU ORIGINALLY POSTED could not produce that error.
-
Why are you putting sensitive information into the globals array? Use constants. The code you've posted would not produce an error about an undefined variable. You're also not checking for errors.
-
Thanks Kicken, I didn't look too closely at it because he said it worked.
-
Yeah I hid it because it takes up 4/5ths of the entire page. That's annoying. Salathe can still see it, I have no idea what he wants to do with it.
-
See, that's a whole hell of a lot different than your original post, isn't it.
-
I would try putting the code on my laptop/desktop/whatever pc and use something like WAMP to set up a localhost to do testing, since it sounds like you're using a shared host.
-
I don't even understand the question.
-
This forum is for help with code you wrote. Did you try googling the topic? They should have given you a URL for their API as well.
-
I don't see anything that indicates the OP's code works on a development server, it sounds like it does have a fatal parse error, which would cause ini_set to never get processed. Better to change it in the php.ini.
-
echo $array['PaymentResult']['Cdc']['CdcEntry']['Items']['CdcEntryItem'][1]['Value'];
-
Hit the Mark Solved button.
-
Cool story bro. Edit: well if you post the code it ruins my post. Pah.
-
Need to modify upload script to add an allowed extension
Jessica replied to Lassie's topic in PHP Coding Help
Why are you defining the allowed extensions way after trying to use it? -
Which is your site, u-a-s.com or lahori.org??
- 14 replies
-
- mobile
- redirection
-
(and 1 more)
Tagged with:
-
There must be more code then. I suggest A. Hire someone who knows what they're doing. B. Hire a lawyer. C. Learn from the mistake.
- 14 replies
-
- mobile
- redirection
-
(and 1 more)
Tagged with:
-
Good job interpreting that logic and writing the code.
-
There's two ways, one is you could set a variable to true before entering the loop, and in the while loop check to see if it's true. If it is, skip the row and set that variable to false. Then from then on it will be false and not skip the row. Probably the simpler way.
-
Try using full tags, not short tags. If that doesn't fix it, show us the actual output.