Register Register Member Login Member Login Member Login Forgot Password ??
PHP , ASP , ASP.NET, VB.NET, C#, Java , jQuery , Android , iOS , Windows Phone
 

Registered : 109,030

HOME > PHP > PHP Forum > ขอคำแนะนำหน่อยครับ อยากเอาข้อมูลที่ดึงออกจาก DB แล้วส่งไปเป็นปุ่ม download เป็น file.vcf



 

ขอคำแนะนำหน่อยครับ อยากเอาข้อมูลที่ดึงออกจาก DB แล้วส่งไปเป็นปุ่ม download เป็น file.vcf

 



Topic : 136599



โพสกระทู้ ( 0 )
บทความ ( 0 )



สถานะออฟไลน์




<!doctype HTML>

<?php

require 'header.php';

$id_user = $_GET['card'];
echo $id_user = $_GET['card'];

$profile = "SELECT * FROM table_user WHERE id_user = '$id_user'";
$profile_query = mysqli_query($connect_db, $profile);
$profile_result = mysqli_fetch_assoc($profile_query);
?>

<body>
<div class="container-login-page">

<div><img src="images/logo.png" class="logo-profile"></div>
<br />
<div>
<img src="images/<?=$profile_result['img_name']?>" class="img-profile">

</div>
<br />
<div>
<h1 class="h1-profile"><?=$profile_result['first_name']?> <span class="surename"><h1 class="h1-profile"><?=$profile_result['sure_name']?></h1></span></h1>
<h2 class="h2-profile" ></h2>
<h2 class="h2-profile"><?=$profile_result['company']?></h2>
<h2 class="h2-profile-h">Address</h2>
<hr class="hr-profile">
<p class=""><?=$profile_result['address']?></p>
<h2 class="h2-profile-h">Contract</h2>
<hr class="hr-profile">
<p class=""><label>tell: </label><?=$profile_result['mobile']?></p>
<p class=""><label>tell: </label><?=$profile_result['mobile1']?></p>
<p class=""><label>tell: </label><?=$profile_result['mobile2']?></p>
<p class=""><label>phone: </label><?=$profile_result['phone']?></p>
</div>
<div class="row">
<div class="block-left">
<h2 class="h2-profile-h">Email</h2>
<hr class="hr-profile">
<p class=""><?=$profile_result['email']?></p>
<p class=""><?=$profile_result['email2']?></p>
<h2 class="h2-profile-h">Website</h2>
<hr class="hr-profile">
<p class=""><a href='<?=$profile_result['website']?>'><?=$profile_result['website']?></a></p>
</div>

<div class="block-right">
<img class='links' src="<?=$profile_result['id_qrcode']?>" class="qr-profile">
</div>
</div>
<h2 class="h2-profile-h">Social</h2>

<div class="row">
<div class="social-co">
<a href='<?=$profile_result['fb_profile']?>'><img src="images/icons8-facebook.svg" class="social-img"></a>
</div>
<div class="social-co">
<a href='<?=$profile_result['ins_profile']?>'><img src="images/icons88-instagram.svg" class="social-img"></a>
</div>
<div class="social-co">
<a href='<?=$profile_result['tik__profile']?>'><img src="images/icons8-tiktok.svg" class="social-img"></a>
</div>
<div class="social-co">
<a href='<?=$profile_result['tw_profile']?>'><img src="images/icons8-twitter.svg" class="social-img"></a>
</div>
<div class="social-co">
<a href='<?=$profile_result['line_profile']?>'><img src="images/icons88-line.svg" class="social-img" ></a>
</div>
<div class="social-co">
<a href='<?=$profile_result['line_profile']?>'><img src="images/icons8-linkedin.svg" class="social-img"></a>

</div>
</div>
</div>
</body>
</HTML>



Tag : PHP







Move To Hilight (Stock) 
Send To Friend.Bookmark.
Date : 2022-02-19 20:44:57 By : superexk_za View : 363 Reply : 1
 

 
https://github.com/jeroendesloovere/vcard






แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2022-02-20 11:19:45 By : 009
 

   

ค้นหาข้อมูล


   
 

แสดงความคิดเห็น
Re : ขอคำแนะนำหน่อยครับ อยากเอาข้อมูลที่ดึงออกจาก DB แล้วส่งไปเป็นปุ่ม download เป็น file.vcf
 
 
รายละเอียด
 
ตัวหนา ตัวเอียง ตัวขีดเส้นใต้ ตัวมีขีดกลาง| ตัวเรืองแสง ตัวมีเงา ตัวอักษรวิ่ง| จัดย่อหน้าอิสระ จัดย่อหน้าชิดซ้าย จัดย่อหน้ากึ่งกลาง จัดย่อหน้าชิดขวา| เส้นขวาง| ขนาดตัวอักษร แบบตัวอักษร
ใส่แฟลช ใส่รูป ใส่ไฮเปอร์ลิ้งค์ ใส่อีเมล์ ใส่ลิ้งค์ FTP| ใส่แถวของตาราง ใส่คอลัมน์ตาราง| ตัวยก ตัวห้อย ตัวพิมพ์ดีด| ใส่โค้ด ใส่การอ้างถึงคำพูด| ใส่ลีสต์
smiley for :lol: smiley for :ken: smiley for :D smiley for :) smiley for ;) smiley for :eek: smiley for :geek: smiley for :roll: smiley for :erm: smiley for :cool: smiley for :blank: smiley for :idea: smiley for :ehh: smiley for :aargh: smiley for :evil:
Insert PHP Code
Insert ASP Code
Insert VB.NET Code Insert C#.NET Code Insert JavaScript Code Insert C#.NET Code
Insert Java Code
Insert Android Code
Insert Objective-C Code
Insert XML Code
Insert SQL Code
Insert Code
เพื่อความเรียบร้อยของข้อความ ควรจัดรูปแบบให้พอดีกับขนาดของหน้าจอ เพื่อง่ายต่อการอ่านและสบายตา และตรวจสอบภาษาไทยให้ถูกต้อง

อัพโหลดแทรกรูปภาพ

Notice

เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ
อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง

   
  เพื่อความปลอดภัยและการตรวจสอบ กระทู้ที่แทรกไฟล์อัพโหลดไฟล์จากที่อื่น อาจจะถูกลบทิ้ง
 
โดย
อีเมล์
บวกค่าให้ถูก
<= ตัวเลขฮินดูอารบิก เช่น 123 (หรือล็อกอินเข้าระบบสมาชิกเพื่อไม่ต้องกรอก)







Exchange: นำเข้าสินค้าจากจีน, Taobao, เฟอร์นิเจอร์, ของพรีเมี่ยม, ร่ม, ปากกา, power bank, แฟลชไดร์ฟ, กระบอกน้ำ

Load balance : Server 00
ThaiCreate.Com Logo
© www.ThaiCreate.Com. 2003-2024 All Rights Reserved.
ไทยครีเอทบริการ จัดทำดูแลแก้ไข Web Application ทุกรูปแบบ (PHP, .Net Application, VB.Net, C#)
[Conditions Privacy Statement] ติดต่อโฆษณา 081-987-6107 อัตราราคา คลิกที่นี่