| | |
hello guys I need help with this:<td> <? echo $row["referalvisits"]; ?>
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Nov 2008
Posts: 5
Reputation:
Solved Threads: 0
hello guys I need help with this:<td> <? echo $row["referalvisits"]; ?>
0
#1 Nov 24th, 2008
Hello all I need fast answer on this: How i can change(or) reset value ["referalvisits"] to ZERO?
let's say that there is some value: for example 23220
I need reset it to zero and count again from zero..
""
""
thank you alot
I will send 5$ on alertpay if you will resolve my problem..
let's say that there is some value: for example 23220
I need reset it to zero and count again from zero..
""
php Syntax (Toggle Plain Text)
<th>Referral Visits</th> <td> <? echo $row["referalvisits"]; ?></td>
thank you alot
I will send 5$ on alertpay if you will resolve my problem..
Last edited by peter_budo; Nov 24th, 2008 at 6:24 pm. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks) and [icode] (inline code) tags.
•
•
Join Date: Apr 2008
Posts: 293
Reputation:
Solved Threads: 11
Re: hello guys I need help with this:<td> <? echo $row["referalvisits"]; ?>
0
#2 Nov 24th, 2008
•
•
Join Date: Nov 2008
Posts: 1
Reputation:
Solved Threads: 0
Re: hello guys I need help with this:<td> <? echo $row["referalvisits"]; ?>
0
#3 Nov 24th, 2008
•
•
Join Date: Apr 2008
Posts: 293
Reputation:
Solved Threads: 11
Re: hello guys I need help with this:<td> <? echo $row["referalvisits"]; ?>
0
#4 Nov 24th, 2008
•
•
Join Date: Apr 2008
Posts: 293
Reputation:
Solved Threads: 11
Re: hello guys I need help with this:<td> <? echo $row["referalvisits"]; ?>
0
#5 Nov 24th, 2008
php Syntax (Toggle Plain Text)
$sql="Update yob_users SET referalvisits='0' where username='$user' "; $result = mysql_query($sql); $row = mysql_fetch_array($result);
by using this you set value for referalvisits 0
then check referalvisits or declare variable count
check visits & increment count++
then set referalvisit with that count and dispaly referalvisits using echo
Last edited by peter_budo; Nov 24th, 2008 at 6:25 pm. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks) and [icode] (inline code) tags.
![]() |
Other Threads in the PHP Forum
- Previous Thread: update problem
- Next Thread: Not getting data in list box
| Thread Tools | Search this Thread |
Tag cloud for PHP
.htaccess access ajax apache api array beginner binary broken cakephp checkbox class cms code cron curl database date development directory display download dynamic echo email error file files filter folder form forms function functions gc_maxlifetime google host href htaccess html image include insert integration ip java javascript joomla limit link login loop mail memmory memory menu mlm mod_rewrite multiple mysql navigation oop parse parsing paypal pdf php problem query radio random recursion regex remote script search server sessions sms snippet soap source space sql structure syntax system table thesishelp tutorial update upload url validation validator variable video web xml youtube





