Jessica
Staff Alumni-
Posts
8,968 -
Joined
-
Last visited
-
Days Won
41
Everything posted by Jessica
-
Session variables not carried onto subsequent pages
Jessica replied to babymac's topic in PHP Coding Help
You clearly know how to echo HTML within PHP cause you're doing it. You also know how to end PHP and do straight HTML. What are you confused about? -
Session variables not carried onto subsequent pages
Jessica replied to babymac's topic in PHP Coding Help
Put them where you want them. -
Session variables not carried onto subsequent pages
Jessica replied to babymac's topic in PHP Coding Help
You're over writing the values on the third page with presumably non existent posted values. -
Read the file into an array, and then use array_count_values
-
Rage quit!!!! :-P
-
I did, it's free for personal blogs. It's also not that expensive for commercial use, especially when you consider how good it is.
-
... I don't recall ever paying for it... How much does it cost? I'm sure it's worth it, it's amazing.
-
When did they start charging for akismet?
-
Do an inner join instead of left.
-
You could use eval() but most likely you're doing something else wrong.
-
No.
-
You didn't really start the name of your tables with table_ did you? They need to be innodb to be real foreign keys, otherwise you don't need to do anything.
-
Says the person who doesn't know what "sans" means... The irony
-
If you want to share your code, try using Github.
-
Glad the tutorial helped you. Each patient will have several records, so this is known as a many-to-one relationship. You should have one table for patients, and one for records. The records table will have a foreign key for patient ID. Do you already have that set up?
-
I think you need some basic lessons on programming. You can't just copy and paste code into yours and expect it to work.
-
Read the post in my signature on debugging sql
-
order is a reserved word. Call the table something else, or use backticks. `order`
-
It's called a JOIN
-
If you want it in a separate table, no, don't create an empty row. Your code should handle inserting the new row if needed or editing the existing row. You should also use ids as your primary key, not username.
-
Why is a profile a separate table?
-
new to programming and have a problem.
Jessica replied to Christopher_Peters's topic in PHP Coding Help
Try adding an "http://" in front of your link (either in the HTML or the DB.) -
But you didn't do it with the EXACT code he can just copy-paste into his script, so he'll keep asking until someone supplies that.
-
new to programming and have a problem.
Jessica replied to Christopher_Peters's topic in PHP Coding Help
So then wrap it in anchor tags like you did before. -
new to programming and have a problem.
Jessica replied to Christopher_Peters's topic in PHP Coding Help
Well, sounds like $row doesn't exist. Not to mention, the code as shown would produce an infinate loop. Go read the php manual page for mysql_fetch_assoc or whatever function you want to use.