I am a beginer with mysql. I have created a database which has devotional pages displayed daily. I used php and html to format the output.
Is there any way I can configure or use the database mysql to input a link in a field.
For example if the text is "though shall love your enemy" in one field and reference filed is " Matthew 2.22" I would love to link the reference field to the online Bibile, so that once you...
User Profile
Collapse
-
Thank you
I removed the space betweb the birth Date and it worked -
Datatypes are (Name) varchar(20)
(birth Date) date
SQL query:
[code=mysql]
SELECT *
FROM `pet`
WHERE birth Date = CURDATE( )
LIMIT 0 , 30
[/code]
MySQL said:
...Code:#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Date
Leave a comment:
-
Mysql date problem
Hello everybody.
I took database course two years ago and I am having a serious problem.
I created a table called pet with mySQL 5.0 and it has 6 fields. Among them are two fields for birth Date and death Date.
When inserting the data I have one pet born today. I am trying to query the pet who was born today but it is not working. Here is my syntex
[code=mysql]
SELECT *
FROM pet
WHERE birth Date...
No activity results to display
Show More
Leave a comment: