Jump to content


Photo

help with php and mysql


  • Please log in to reply
4 replies to this topic

#1 bob2006

bob2006
  • Members
  • PipPipPip
  • Advanced Member
  • 62 posts
  • LocationFlorida

Posted 12 September 2006 - 11:44 AM

hello who do i ran i list of ever user in the data bass in a php script
--Sam Mesic--

#2 Jenk

Jenk
  • Members
  • PipPipPip
  • Advanced Member
  • 778 posts

Posted 12 September 2006 - 11:45 AM

start with an sql query:
SELECT * FROM `users`

The rest, have a go at, and particular problems then post here. Don't just ask someone else to do it for you.

#3 bob2006

bob2006
  • Members
  • PipPipPip
  • Advanced Member
  • 62 posts
  • LocationFlorida

Posted 12 September 2006 - 11:56 AM

thank you but ive been trying that it keep s coming up with Parse error: syntax error, unexpected $end in /home/citrush/public_html/freehosting/test/test3.php on line 15
not try to have any help me with it just need some ideas
--Sam Mesic--

#4 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 12 September 2006 - 11:58 AM

post the code show the error of the line.
Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc

#5 bob2006

bob2006
  • Members
  • PipPipPip
  • Advanced Member
  • 62 posts
  • LocationFlorida

Posted 12 September 2006 - 12:02 PM

<?php

include'../webmaster/functions.php';
{
$check=mysql_query("SELECT * FROM `hosting` )or die(mysql_error());
$CNumb=mysql_num_rows($check);
}







This is what i been try to do with some my friends gave me but haveing no luck :(
--Sam Mesic--




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users