User Profile

Collapse

Profile Sidebar

Collapse
kyandebishop
kyandebishop
Last Activity: Sep 29 '07, 05:26 AM
Joined: Sep 13 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • kyandebishop
    started a topic MYSQL And Link

    MYSQL And Link

    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...
    See more | Go to post

  • kyandebishop
    replied to Mysql date problem
    Thank you
    I removed the space betweb the birth Date and it worked
    See more | Go to post

    Leave a comment:


  • kyandebishop
    replied to Mysql date problem
    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
    ...
    See more | Go to post
    Last edited by Atli; Sep 14 '07, 08:15 PM. Reason: Added [code] tags

    Leave a comment:


  • kyandebishop
    started a topic Mysql date problem

    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...
    See more | Go to post
    Last edited by Atli; Sep 14 '07, 08:15 PM. Reason: Added [code] tags
No activity results to display
Show More
Working...