我正在尝试上传包含日期和其他文本的列的Excel电子表格.
日期的格式为1/24/2012,但是当我将其加载到mysql中时,它会将其更改为某种十进制格式,例如40932 ????
我怎样才能按原样上传,不改变它?o我能做什么才能真正坚持这一个!!!!
非常感激任何的帮助.
我想在首页的帖子中添加缩略图.但不知道该怎么做.我的主题不支持custom_field.其中一个类别的代码是我粘贴在这里.......
<div class="featured">
<h2>HEADLINES</h2>
<!--This is where the thumbnails are found for the homepage bottom section - note the custom field name for this image is "thumbnail". Recommended image size is 70x70, as the stylesheet is written for this size.-->
<?php $recent = new WP_Query("cat=3&showposts=3");
while($recent->have_posts()) : $recent->the_post();?>
<?php the_post_thumbnail(); ?>
<?php if( get_post_meta($post->ID, "thumbnail", true) ): ?>
<a href="<?php the_post_thumbnail() ?>" rel="bookmark"><imgstyle="float:left;margin:0px 10px 0px 0px;" src="<?php echo get_post_meta($post->ID, "thumbnail", true); ?>" alt="alt text" /></a>
<?php else: ?>
<a href="<?php …Run Code Online (Sandbox Code Playgroud)