I = 1 while I < = 5: result = 1 while result <= i: print("*", end="") result += 1 print(" %d " % i) print("") i += 1 1. Why is the while (result) loop nested in the box whose variables start at...
what I do when I generate an order is: while ($row = mysqli....) { $id = substr(date( YmdHi , time()), -10); } because there will be dozens of orders in one second , but this will lead to the same order number . I have thought about using "uniqid "...
.swiper{ vertical-align: top; width: 82%; display: inline-block; margin: 0px 0px 20px 20px; white-space: normal; } <? while ($row = mysqli_fetch_array($sql)){?> <div class="swiper">< div> <? }?&g...
$product_data = $mysqli->query( "SELECT p.url as url, p.description as description, p.info as info, p.note as note, p.content as content, p.name as pname, p.icon as ico...
$mail= new PHPMailer(); $mail->IsSMTP(); $mail->SMTPAuth = true; $mail->SMTPSecure = "ssl"; $mail->Host = "smtp.gmail.com"; $mail->Port = 465; $mail->CharSet = "utf8"; $mail->...
SELECT t.name AS tname FROM `product` as p JOIN `product_theme` as pt ON pt.prod_id = p.prod_id JOIN `theme` as t ON t.theme_id = pt.theme_id theme product_theme product theme product_theme pro...