Search Results

Showing results 1 to 9 of 9
Search took 0.01 seconds.
Search: Posts Made By: ryan_vietnow
Forum: PHP Jul 21st, 2009
Replies: 6
Views: 269
Posted By ryan_vietnow
No problem bro, mark this thread as solved now. Don't forget the rep! ;)
Forum: PHP Sep 3rd, 2008
Replies: 4
Views: 774
Posted By ryan_vietnow
Replace the $result in this one:


to $sql because your $sql variable is what holds your query.
$result holds the mysql_num_rows value.
Forum: PHP Aug 6th, 2008
Replies: 4
Views: 1,157
Posted By ryan_vietnow
much easier:


$query="SELECT SUM(points) AS `total` from members2";
$result=mysql_query($query);
$total=mysql_result($result,0,"total");
Forum: PHP Jul 8th, 2008
Replies: 10
Views: 2,282
Posted By ryan_vietnow
sure,you can,get the id of that you want to delete then perform the delete query in the same page.for example:
(this is your page,e.g. sample.php)

<?php
//db connections..

$result =...
Forum: PHP Jul 3rd, 2008
Replies: 5
Solved: too risky!
Views: 494
Posted By ryan_vietnow
tizag works best!

http://www.tizag.com/phpT/
Forum: PHP May 29th, 2008
Replies: 5
Views: 4,060
Posted By ryan_vietnow
just delete out the

"$row = mysql_fetch_array($result);"

and it would be fine.
Forum: PHP May 15th, 2008
Replies: 1
Views: 1,595
Posted By ryan_vietnow
<?php
require_once('core/db.php');
require_once('core/secure.php');

$query = mysql_query("SELECT username FROM admin WHERE id = 1");
$result=mysql_query($query);...
Forum: PHP Apr 11th, 2008
Replies: 5
Solved: JPGraph+Help
Views: 1,026
Posted By ryan_vietnow
I think the class itself has the error.Try to check them more intensively to find out why it is not working.
Forum: PHP Oct 30th, 2007
Replies: 6
Views: 780
Posted By ryan_vietnow
please replace this part of your code:


<?php
$category = "Posts";

# setup SQL statement
$SQL = " SELECT * FROM posts WHERE category = '$category' ";

# execute SQL...
Showing results 1 to 9 of 9

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC