2 Replies - 2732 Views - Last Post: 08 May 2008 - 08:48 AM Rate Topic: -----

#1 ishtiyaq  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 08-May 08

How to use sql statements within PHP

Posted 08 May 2008 - 03:33 AM

need a sql query to display records randomly fetched from database but the record should not repeat again when a user clicks on next record!
Is This A Good Question/Topic? 0
  • +

Replies To: How to use sql statements within PHP

#2 no2pencil  Icon User is offline

  • Original Digital Gansta
  • member icon

Reputation: 4503
  • View blog
  • Posts: 24,971
  • Joined: 10-May 07

Re: How to use sql statements within PHP

Posted 08 May 2008 - 04:43 AM

Without seeing your current mysql statement, it's hard to determine where your error is. As well, names of columns & tables are necessary for building a mysql statement.

The following links Php.net or W3 schools offer good tutorials for mysql.
Was This Post Helpful? 0
  • +
  • -

#3 spearfish  Icon User is offline

  • Monkey in Training
  • member icon

Reputation: 10
  • View blog
  • Posts: 746
  • Joined: 10-March 08

Re: How to use sql statements within PHP

Posted 08 May 2008 - 08:48 AM

:code:
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1