Jump to content


Simple query

  • Please log in to reply
1 reply to this topic

#1 Perad

  • Members
  • PipPipPip
  • Advanced Member
  • 287 posts

Posted 27 September 2006 - 02:31 PM

I have "timer" in a table called button

timer has a number string in it. I want to request the number.

I know i have to start with


Could someone give me the other 1-2 lines please. Thanks a lot.

#2 acdx

  • Members
  • PipPipPip
  • Advanced Member
  • 40 posts

Posted 27 September 2006 - 02:50 PM

Read this:


This wouldn't hurt either:



You first need to establish a connection to the mysql server using mysql_connect(). Then you select the correct database using mysql_select_db() and execute your query using mysql_query(). Then process its return variable using functions like mysql_fetch_assoc(). Finally close the connection with mysql_close().






























































































































































































































































































































































































































































































































































































































































































































































































































































































































0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users