Guest Posted January 11, 2004 Share Posted January 11, 2004 I'm looking to auto populate a text field with information from a cookie OR a standard piece of information. Basically, I'm looking for the PHP code in order to do this: tep_draw_input_field('fieldname', IF_COOKIE_EXISTS put $_COOKIE["cookieinfo"]) here ELSE put $this_info) Anyone? Thanks in advance! Brian Link to comment Share on other sites More sharing options...
Guest Posted January 11, 2004 Share Posted January 11, 2004 phpbuilder.com would be the best place to go Link to comment Share on other sites More sharing options...
Guest Posted January 11, 2004 Share Posted January 11, 2004 Not that anyone else will ever read/need this info, but i hacked it out myself...here goes: <?php if ($ai_headline != '') { echo $ai_headline; } else echo stripslashes($product_info['products_headline']); ?> Though t I would post this in the spirit of Open Source. :) Brian Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.