Search Results

Showing results 1 to 40 of 81
Search took 0.01 seconds.
Search: Posts Made By: ryan_vietnow ; Forum: PHP and child forums
Forum: PHP Jul 21st, 2009
Replies: 6
Views: 272
Posted By ryan_vietnow
No problem bro, mark this thread as solved now. Don't forget the rep! ;)
Forum: PHP Jul 21st, 2009
Replies: 6
Views: 272
Posted By ryan_vietnow
How about the tables or the fields?Are they correct?The code seems fine.
Forum: PHP Jul 21st, 2009
Replies: 6
Views: 348
Posted By ryan_vietnow
kindly look at rename() function in PHP.
Forum: PHP Jul 21st, 2009
Replies: 3
Views: 254
Posted By ryan_vietnow
First,you must buy a web domain and hosting for you to transfer it with PHP,Apache and MySQL.But free domain hosting will do as long as they support them(Free hosting sites are slow so get a paid...
Forum: PHP Jul 21st, 2009
Replies: 6
Views: 272
Posted By ryan_vietnow
is the code working already with the original query?
Forum: PHP Aug 14th, 2008
Replies: 15
Solved: I need help!!
Views: 1,018
Posted By ryan_vietnow
Welcome!Kindly mark this thread solved;)
Forum: PHP Aug 14th, 2008
Replies: 15
Solved: I need help!!
Views: 1,018
Posted By ryan_vietnow
put all your php files in the htdocs then try again.
Forum: PHP Aug 6th, 2008
Replies: 4
Views: 1,167
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 Aug 6th, 2008
Replies: 4
Views: 1,167
Posted By ryan_vietnow
you can try something like this:

$query="Select points from members2";
$result=mysql_query($query);

$total=0;
while($row=mysql_fetch_array($result))
{
$total=$total + $row['points'];
}
Forum: PHP Aug 5th, 2008
Replies: 5
Views: 1,062
Posted By ryan_vietnow
Forum: PHP Jul 29th, 2008
Replies: 4
Views: 340
Posted By ryan_vietnow
as it says in the error(the last line)

"Table 'imedia_lyrics.config' doesn't exist"

it simply means the table does not exist.try creating the table and see how it goes.
Forum: PHP Jul 29th, 2008
Replies: 4
Views: 2,318
Posted By ryan_vietnow
Use post method so variables will not be seen in the address.
Forum: PHP Jul 23rd, 2008
Replies: 4
Views: 1,024
Posted By ryan_vietnow
yeah,you can move that to the snippets page.It will be useful to many!
Forum: PHP Jul 8th, 2008
Replies: 10
Views: 2,292
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: 495
Posted By ryan_vietnow
tizag works best!

http://www.tizag.com/phpT/
Forum: PHP Jun 26th, 2008
Replies: 10
Views: 2,321
Posted By ryan_vietnow
Forum: PHP Jun 26th, 2008
Replies: 10
Views: 2,321
Posted By ryan_vietnow
you can change your query like this to validate a username with its password.

(let us say pword is your password table in db...)

replace this:

$result = mysql_query("SELECT * FROM logins...
Forum: PHP May 29th, 2008
Replies: 5
Views: 4,081
Posted By ryan_vietnow
it is because that $row is supposed to be 0 in the opening of the while loop which will get row 0 or the first row in the result.If you set the $row into the mysql_fetch_array,the result will not be...
Forum: PHP May 29th, 2008
Replies: 5
Views: 4,081
Posted By ryan_vietnow
the one that is under the query.
Forum: PHP May 29th, 2008
Replies: 5
Views: 4,081
Posted By ryan_vietnow
just delete out the

"$row = mysql_fetch_array($result);"

and it would be fine.
Forum: PHP May 26th, 2008
Replies: 5
Views: 1,626
Posted By ryan_vietnow
Forum: PHP May 23rd, 2008
Replies: 16
Views: 1,548
Posted By ryan_vietnow
put it in an if statement:

if ($variable21="")
{
//do nothing
}
else
{
echo "<p<b>Meetings:</b> $variable21</p>";
}
Forum: PHP May 15th, 2008
Replies: 1
Views: 1,602
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 22nd, 2008
Replies: 4
Solved: PHP_SELF
Views: 700
Posted By ryan_vietnow
Or maybe put the $_GET variable into a session and fetch it after page reloads.
Forum: PHP Apr 18th, 2008
Replies: 5
Views: 2,075
Posted By ryan_vietnow
Connection problems?Server problems?Try to optimize your code to make it a little faster.
Forum: PHP Apr 18th, 2008
Replies: 5
Views: 2,075
Posted By ryan_vietnow
I think that's not possible because the script is executed in the web server before it is viewed by the user.Why do you want to do this anyway?
Forum: PHP Apr 11th, 2008
Replies: 3
Views: 617
Posted By ryan_vietnow
just escape the quotation marks you will need inside the first quotation mark:


$x="this \" is a quote";
echo $x;
Forum: PHP Apr 11th, 2008
Replies: 5
Solved: JPGraph+Help
Views: 1,035
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 Apr 11th, 2008
Replies: 5
Solved: JPGraph+Help
Views: 1,035
Posted By ryan_vietnow
Please post the code for filename.php
Forum: PHP Apr 10th, 2008
Replies: 3
Views: 656
Posted By ryan_vietnow
Forum: PHP Apr 4th, 2008
Replies: 14
Views: 1,571
Posted By ryan_vietnow
Forum: PHP Apr 4th, 2008
Replies: 14
Views: 1,571
Posted By ryan_vietnow
and also in here:

echo "<td>$row['email'];</td>";

I am referring to the ";" in the middle.
Forum: PHP Apr 4th, 2008
Replies: 14
Views: 1,571
Posted By ryan_vietnow
you have mistakenly put ";" in this line:

echo "<td>$row['last_name'];</td>";

erase it and it will be fine.
Forum: PHP Apr 3rd, 2008
Replies: 14
Views: 1,571
Posted By ryan_vietnow
just put the echo thing inside the table.


$query = "SELECT * FROM customers WHERE job_number='$jobnumber'";
$result = mysql_query($query);
echo "<table>";
while ($row =...
Forum: PHP Apr 3rd, 2008
Replies: 14
Views: 1,571
Posted By ryan_vietnow
there's no problem in your code that will display the results alright.Do you mean that you want to display the results in a specific area of an HTML page?
Forum: PHP Apr 3rd, 2008
Replies: 14
Views: 1,571
Posted By ryan_vietnow
Could you please explain more what you want to display?
Forum: PHP Apr 2nd, 2008
Replies: 7
Views: 660
Posted By ryan_vietnow
then it simply means that $_SESSION['un'] is not existing.Where does this session comes from anyway?
Forum: PHP Mar 30th, 2008
Replies: 2
Views: 451
Posted By ryan_vietnow
this is your error:

<? php

it must be:

<?php

ok?
Forum: PHP Mar 27th, 2008
Replies: 3
Views: 486
Posted By ryan_vietnow
Forum: PHP Mar 27th, 2008
Replies: 3
Views: 486
Posted By ryan_vietnow
use tables or divs to properly arrange your data and insert your desired results on how you want them.
Showing results 1 to 40 of 81

 


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

©2003 - 2009 DaniWeb® LLC