Jessica
-
Posts
8,968 -
Joined
-
Last visited
-
Days Won
41
Posts posted by Jessica
-
-
If the div inside is floated, you'll need to add a clearing element right after them (within the container div)
A br with clear:both usually works
-
Pretty sure it would be something entirely proprietary.
-
Since we still don't have images on mobile view I will have to "like" this via a quote. *liked*Don't store your dates as unix timestamps - store them as type DATETIME, format "yyyy-mm-dd hh:ii:ss"
-
Do you understand what I wrote? Because it was pretty much a statement of fact, not anything to do with anyone's emotions.Are you upset with something? Frustrated person....
-
What you posted isn't even valid code.
-
I'll bet you
A. Don't have error reporting turned on.
and
B. Just copy and pasted that, without thinking about what $string needs to be.
-
Also this is OVER abstracted. All of that data should be in one table anyway.
-
You didn't post what you have tried, so you're asking someone to write it for you.
-
Cool story bro.
-
The function parameter is $dbo. Then you look for $db.
-
The substr is superfluous, you can use trim with a second parameter.
Or even better use an array and implode.
-
Everything is a big secret? What on earth does that mean?
A. The path of least resistance is don't upgrade PHP.
B. The best way to handle sending mail is to use a mailing class or service. There's PHP Mailer, Swift Mailer, etc etc.
-
How is that unusual?? It's for exactly what you described. I personally can't believe you did any research and didn't find it.
The PHP manual is your friend.
-
-
You clearly didn't read the forums rules.
-
I did explain to you. Logically, if you don't have an error, then you were successful. Otherwise, you need to define what successful means.
As for echoing it as a "message" instead of a "page", are you saying you want the form to always display after submission?
-
Thanks for that kitchen
@kicken:
-
-
The 2nd and 3rd are because of the 1st.
Did you check the permissions of the online_users.txt file?
-
You should post the entire line of code, as that's not anywhere near valid PHP.
But I can assume that's part of an SQL query string.
A. you should not use $_POST variables directly in the string.
B. You should really switch to using prepared statements via mysqli/PDO.
C. You also need single quotes for each array key. $_POST['Email Address'] is valid. You'll need to study up on string concatenation, interpolation, and escaping quotes to make that string work.
D. You're also missing a single quote at the beginning of the set.
-
Either you need to use the $_POST array, or you're trying to ask how to do chained selects using AJAX.
-
He said No as in they are not "used to reduce memory consumption". He backed that up by showing the manual which says "The reference is merely a means of creating another variable for the same content; a reference. Its not a pointer and "they are not actual memory addresses"
Your reply talked about memory addresses. Which it specifically says a reference IS NOT.
You said "correct me if I'm wrong:" - You're wrong.
-
@mostafatalebi - Did you read this?No, the PHP Compiler will optimise your code. The reference is merely a means of creating another variable for the same content; a reference. Its not a pointer and "they are not actual memory addresses" - http://www.php.net/manual/en/language.references.whatare.php
-
What do you WANT it to do?
Please Suggest a Framework
in Frameworks
Posted
I've attempted to use CI, and I've successfully used CakePHP, Symfony and Yii. If you need a framework, pick Symfony or Yii. NOT CI.