Jump to content

CodingStudent

Members
  • Content Count

    12
  • Joined

  • Last visited

Community Reputation

0 Neutral

About CodingStudent

  • Rank
    Member
  1. Hi friends, Css is not working without clean and close tab. i am cleaning cache and closing tab. When i opened new tab is working css codes. i uninstalled and reinstall browsers. But it isn't working again. It is working other computers. But it is not working my computer. index.php <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Site</title> <link type="text/css" rel="stylesheet" href="css/style.css"> </head> <body> <div class="container"> <div class="bir">Bir<
  2. Hi, i put images side by side. When i give equal space with "margin-left" or padding-left, it is giving space for first image too. i am pulling images from database. i don't want to give "margin" for first image. See i added image. <style> figure { width:32.5%; float: left; position: relative; padding-top: 3px; margin-left:7px; padding-bottom: 3px; margin-bottom: 1.35em; background: #fff; -webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.35); -moz-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.35); box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.35); } figc
  3. i changed codes that. you can see i added image. i want to put the captions under the images <style> figure { width:33%; float: left; position: relative; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; margin-right: 15px; margin-bottom: 1.35em; background: #fff; -webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.35); -moz-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.35); box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.35); } figcaption { width:99%; position: absolute; background: rgba(0,0,0,0.6); font-size: 1.2em; color: #fff; padding: 10px
  4. Hi friends, i have a problem. i am pulling data from database "image" and "headline". when i pulled second data, second image and headline are displaying below. See i added image. i want to display side by side. <div class="row no-gutters" style="border:1px solid black;"> <div class="col"> <?php $resim = $db->query("SELECT * FROM resimlerekle ORDER BY cokluresimekle_id DESC LIMIT 3"); ?> <?php foreach ($resim as $resimkoy) { ?> <!-- <div style="border:1px solid black; height:50px; color:white; line-height:50px; text-align:center;"><?php /*
  5. my just problem that. i didn't get the pagination down.
  6. Hi friends, i have a problem. i try to make pagination. I didn't added numbers and the number stayed next to the images. Numbers is no display and it is next the images. And i don't want to give "padding-left" for first image but when i use "padding-left" for images, it is giving all of them. <?php $sayfa = intval($_GET["sayfa"]); if(!$sayfa) {$sayfa = 1;} $say = $db->query("SELECT * FROM resimlerekle"); $toplamveri = $say->rowCount(); // Verileri Saydırdık $limit = 8; $sayfa_sayisi = ceil($toplamveri/$limit); if($sayfa > $sayfa_sayisi) { $sayfa = 1; }
  7. eventually, i did it. mansethaberler.php <?php include "header.php"; ?> <?php $db = new PDO("mysql:host=localhost; dbname=boz_der; charset=utf8", "user", "ltmD38wbx"); ?> <div class="col-lg-3 col-md-3 col-sm-12 col-xs-12 telefon-margin-top-slide"> <?php include "solmenu.php"; ?> </div> <?php if($_GET) { $verial = $_GET["git"]; ?> <?php $veri = $db->query("SELECT * FROM haberlerekle WHERE haberekle_id='$verial'"); ?> <div class="col-lg-9 col-md-9 col-sm-12 col-xs-12"> <?php foreach ($veri as $haber) { ?> &l
  8. i clicked link and image this ---> in "mansethaberler.php" is shows ---> both are different images. When i clicked the link, same image must display , not second image.
  9. the image and link different i clicked in "slider.php" the image and link that displayed is different. i want to display in "mansethaberler.php" i clicked image and link.
  10. "slider.php" all page <?php $veriler = $db->query("SELECT * FROM haberlerekle ORDER BY haberekle_id DESC LIMIT 12",PDO::FETCH_ASSOC)->fetchAll(); ?> <div id="demo" class="carousel slide" data-ride="carousel"> <ul class="carousel-indicators"> <?php $i = 0; foreach ($veriler as $row) { $actives = ''; if($i == 0) { $actives = 'active'; } ?> <li data-target="#demo" data-slide-to="<?php echo $i; ?>" class="<?php echo $actives; ?>"></li> <?php $i++; } ?> </ul> <div class="carousel-inner"> &
  11. Sorry, i forgot to writing that. i can extract "image" and "headline" to the database, but it extract all "images" and "headlines". I did that. "SELECT * FROM haberlerekle ORDER BY haberekle_id LIMIT 1" this time, it is getting one data, but i saved data first. it doesn't i clicked.
  12. Hi friends, i want to ask a question. i have two page: "slider.php" and "mansethaberler.php" i extract two data from the database, named "addnews_headline" and "addnews_image" in slider.php. i create link to extracted "headline" from the database. See i added first image. when i clicked the link, link is heading to the second page "mansethaberler.php" and in "mansethaberler.php" with "SELECT" i extract from database "headline" and "image". Now i want to do that. When i clicked the link in "slider.php" i want to listing the image and headline in "mansethaberler.php". "mansethaberler.php
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.