Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 12 Years, 8 Months, 1 Week ago Add number to variable
#1
Solved: 12 Years, 8 Months, 1 Week ago
In my Edit Template: member_profile

How can I add 1000 to the variable 'cat' below?

<a style="font-size:20px" href="../copper/index.php?cat={$memprofile['uid']}">

I need to be 10001 instead of 1 for user #1.

Thanks in advance!

Is there a way to get ?cat to equal 10001 for user number 1?

I hope someone can help me here.

I need to add 10000 to the variable ?cat so that user 1 is output as 10001

Anyone?

(2012-05-12, 06:00 AM)bgrella Wrote: In my Edit Template: member_profile

How can I add 1000 to the variable 'cat' below?

<a style="font-size:20px" href="../copper/index.php?cat={$memprofile['uid']}">

I need to be 10001 instead of 1 for user #1.

Thanks in advance!

Is there a way to get ?cat to equal 10001 for user number 1?

I hope someone can help me here.

I need to add 10000 to the variable ?cat so that user 1 is output as 10001

Anyone?


SOLVED.

SOLUTION:
Install Yumi PHP plugin:


<?php $memnum=$memprofile['uid']+10000 ?>

<div align="center"><a style="font-size:20px" href="../copper/index.php?cat=$memnum">

SOLVED.

SOLUTION:
Install Yumi PHP plugin:


<?php $memnum=$memprofile['uid']+10000 ?>

<div align="center"><a style="font-size:20px" href="../copper/index.php?cat=$memnum">


Forum Jump:


Users browsing this thread: 1 Guest(s)