Jessica
Staff Alumni-
Posts
8,968 -
Joined
-
Last visited
-
Days Won
41
Everything posted by Jessica
-
Is there a different post type for multiple photos than the "photo" one? If not, you'll have to add some logic in the first case there to check for multiple photos.
-
So you've explained your specifications now. Messages are either read or unread. When someone looks at a message, you would change it to read. Where are you stuck??? What have you done? You're acting like it's some kind of magic system - you need to write the code. To write the code you need to be able to say what the code should do. It sounds like you have said what the code should do - now do it...
-
You need to explain what you think you mean by "read/unread system". As I explained when you originally posted about the inbox system, you need to be clear about what you're trying to do, rather than assuming we can read your mind. What exactly do you want to accomplish? If you can explain it in plain english, you can probably figure out how to do it in PHP/MySQL.
-
Hi Am New To This Forum Pls I Will Like Someone To Help Me Out On This
Jessica replied to stutego's topic in PHP Coding Help
Not if you use the plain text editor. function test(){ echo 'hello world'; } I c&p that from my text editor into the plain text here.- 23 replies
-
- new
- error running my code
- (and 2 more)
-
Turn on error reporting - you have multiple syntax errors. You need to escape the quotes within your strings. For a large block like this you should probably use HEREDOC syntax. You also are trying to use PHP outside of your PHP tags, if I'm reading your code right.
-
Hi Am New To This Forum Pls I Will Like Someone To Help Me Out On This
Jessica replied to stutego's topic in PHP Coding Help
Hey stupido. Look it up in the manual. Give it like, 5 minutes of your own time and try to learn it. Also this isn't twitter, and my name is Jessica.- 23 replies
-
- new
- error running my code
- (and 2 more)
-
Hi Am New To This Forum Pls I Will Like Someone To Help Me Out On This
Jessica replied to stutego's topic in PHP Coding Help
You didn't post using the code tags. You apparently didn't read the entire second sentence, because it explains what's wrong with your code. I'm guessing you don't understand what .= and = do.- 23 replies
-
- new
- error running my code
- (and 2 more)
-
Hi Am New To This Forum Pls I Will Like Someone To Help Me Out On This
Jessica replied to stutego's topic in PHP Coding Help
You did like maybe 1/5th of what this post says.- 23 replies
-
- new
- error running my code
- (and 2 more)
-
Hi Am New To This Forum Pls I Will Like Someone To Help Me Out On This
Jessica replied to stutego's topic in PHP Coding Help
Post your updated code. In code tags. Use the plain text editor if you need to. If you changed it EVERYWHERE and not just the first time you try to use that variable, that won't work. Think about it.- 23 replies
-
- new
- error running my code
- (and 2 more)
-
Hi Am New To This Forum Pls I Will Like Someone To Help Me Out On This
Jessica replied to stutego's topic in PHP Coding Help
Please use the code tags and indent your code. Within your function, $select is not defined. You probably want to just create it the first time, rather than trying to append to it. $select = "<select... rather than $select .= "<select...- 23 replies
-
- new
- error running my code
- (and 2 more)
-
That doesn't check if the image actually exists. You just set $image1, it will always evaluate to true. If you want to check for the file with that name, use file_exists
-
So now it's harder to read and process.... What's wrong with <?php if ($webpage != null) { echo '<div><a href= "'.$webpage.'" >Visit Website!</a></div>'; } ?>
-
I've got a really simple DB that I just need to have a decent simple CRUD interface for. I was looking at Yii, but I got stuck at the generating stuff in the windows command line, and decided to try Code Igniter - but this doesn't seem to be saving me any time at all, I have to keep creating all these controllers and models, I could do this myself... Anyone have a suggestion for a framework to do the CRUD stuff, that will work on WampServer?
-
If you know HTML, then you know how to put in an image. What is the problem?
-
If you couldn't teach someone in several hours what a variable is, maybe the teacher is the problem.
-
Look into zebra striping. Seriously, don't use periods.
-
I'd love to see how you've gotten PHP to display the time analog.
-
Don't, just use a table - why would you want the dots?
-
Yes, it's possible.
-
You really should fix the structure of the tables. Google normalization
-
This is what HTML tables are for, this is tabular data.
-
That's what Javascript DOES. If you want the server time you need to use PHP.
-
Javascript is client side. That means your computer, not the server.
-
Look at the SOURCE in your browser. What is rendered. Also your code keeps changing from 1 to 2 - what is the actual code? When do you define $image2?
-
Do you know how to work with them? If the answer is no, go read the manual.