User Profile
Collapse
-
I am trying to replicate the one that has 2 colors
blue and red.and the picture of the joypad in betweenLeave a comment:
-
-
css menu bar
I am trying to create a menu bar like the one on mlgpro dot com
I have created a regular one on mlggear dot com
trying to split it, add a different color and a picture in between.
any kind of code,help or suggestions is greatly appreciated -
How to rename file for each download request
ok here is what Im trying to create:
simple code that renames the file to be downloaded each time someone downloads it.
example:
you download my file, it will be rename to smth different that way you cant access the file using that URL anymore
here is the code:
for some reasons the renaming part doesnt work.
any input would be greatly appreciated
as122223333443. txt = the new generated name is updated... -
oh and just for info,im using the phplib template
if you google it its the first link.But Im trying to figure it out myself.thank you againLeave a comment:
-
thank you sir. I am trying it right now. will confirm as soon as I implement itLeave a comment:
-
any example?
to assign a variable to the template you use :
$template->assign_vars(ar ray(
'PRODUCT' => $row['product_title']
'variable' => $variable
etc etc))Leave a comment:
-
display results of mysql query in template
when...Code:$result = mysql_query("SELECT * FROM product inner join members ON product_member_id = members_sid WHERE members_username='username'") ; while($row = mysql_fetch_array($result)) { $template->assign_vars(array( 'PRODUCT' => $row['product_title'], 'USERNAME' => $row['members_username'], 'COUNTRY' => $row['members_country'], )); -
got it. thank you guys! I had to define the relationship between themLeave a comment:
-
mysql query
here is...Code:$result = mysql_query("SELECT * FROM product, members WHERE members_username='amino'") // <= put table field here or die(mysql_error()); while($row = mysql_fetch_array($result)) { echo $row['product_title'] . " " . $row['product_description'] . " " . $row['product_price']; echo "<br />"; } mysql_free_result($result); -
Im gonna try it and let you know how it goes.sorry about the delay been working on other functions.getti ng to this one tonightLeave a comment:
-
create a personal url for my users
I'm creating user profiles.
Im trying to find out how to create a personal page.
for example domain.com/myprofile
I am familiar with PHP and MySQL.
Any input would be greatly appreciated. If you guide me in the right direction I ll find out the rest.
No activity results to display
Show More
Leave a comment: