34 Discussion / Question Topics

Remove Filter
Member Avatar for
Member Avatar for mitchell.schols

just curious. <img src="filepath.jpeg" id="idhere?" /> or <img id="idhere?" src="filepath.jpeg" /> which is valid? are they both vaild? and differences?

Member Avatar for mitchell.schols
0
178
Member Avatar for Stefce

I have a problem with this code and i really can't understand what is it.. i have unique ID for every ticket and it works good but i have made a button to open a `modal (#myModal)` and from there to send the ticket to some username but the problem …

Member Avatar for jkon
0
1K
Member Avatar for Niloofar24

Hi. I'm working on my own CMS, i want the script to echo 3 posts in every page, and want the script to echo from the recent post and back to the oldest post. I mean like this: For example there is totaly 30 posts; First page => posts 30-29-28 …

Member Avatar for Niloofar24
0
392
Member Avatar for Niloofar24

Hello everybody! There is a problem with my db table. For example i send 6 posts (with title, author and content) to the db table one after an other, so their post's id would be 1-2-3-4-5-6. Then if i delete the post number 6 and then write a new post …

Member Avatar for DJBirdi
0
303
Member Avatar for Niloofar24

Hi everybody. I have a page with some post's title in it. I have put every title in an <a> tag. I want to click on each title and enter into an other page (single-post-page.php) to see the content of that post's title. The script of that page (single-post-page.php) should …

Member Avatar for Niloofar24
0
2K
Member Avatar for Niloofar24

Hello. Look at this file please: register.php <?php $servername = "localhost"; $dbname = "mydbname"; $dbusername = "mydbusername"; $dbpassword = "mydbpassword"; try { $conn = new PDO("mysql:host=$servername;dbname=$dbname", $dbusername, $dbpassword); $conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $sql = "INSERT INTO Users (Username, Password) VALUES ('$username', '$password')"; $conn->exec($sql); } catch(PDOException $e) { echo $sql . "<br>" . …

Member Avatar for lps
0
258
Member Avatar for nadiam

Hello, im trying to create a page that drag, drop and clone image on the drop plus dynamically add ids to the clones images. i sort of have it except the dynamic id part im not doing it right. $(document).ready(function(){ var cinemascreen = $("#cinema-screen"); var cinema = $("#cinema-wrapper"); var single …

0
171
Member Avatar for nadiam

Hi, so i found this topic on forum.jquery [Click Here](https://forum.jquery.com/topic/is-it-possible-to-set-id-to-dynamically-created-div) and there is a way to set and ID for a dynamically created div (copy paste from the forum): var x=3,y=3 for (var i=0; i<x; i++){ var line=$('<div>', {id:"X"+i } ).css({clear:'both',width:'100%'}).appendTo('body'); for(var j=0;j<y;j++){ $('<div>',{id:"X"+i+"_"+j}).css({float:'left',width:10,height:10,border:'2px solid red'}).appendTo(line) } } the question …

Member Avatar for AleMonteiro
0
3K
Member Avatar for kannan mangalar

im using api for twitter post, when i post content, twitter not generate the status id, i got this below error Fatal error: Uncaught exception 'EpiTwitterNotAuthorizedException' with message '{"errors":[{"message":"Could not authenticate you","code":32}]}' in

Member Avatar for kannan mangalar
0
274
Member Avatar for Kewne

I have a code in php that is being echoed in html: $tblAccounts .= "<td width=\"100\"><input title=\"$objRow->AccountCode\" name=\"chkAcctField[$objRow->AccountCode]\" id=\"chkAcctField[$objRow->Description]\" value=\"chkAcctField[$objRow->AccountCode]\" type=\"checkbox\" $strIsChecked>" . ucwords($objRow->Description) . "</td>"; now may problem is this... I don't know how will I get the value of the checkboxes clicked by the user.... when the names …

Member Avatar for diafol
0
235
Member Avatar for grafic.web

Hi there, this is the code of my contactcontroller.cs : using ContactMvc.Models; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace ContactMvc.Controllers { public class ContactController : Controller { // // GET: /Contact/ [HttpGet] public ActionResult Index() { return View(new ContactMessage()); } [HttpPost] [ValidateAntiForgeryToken] public ActionResult Index(ContactMessage post) …

0
158
Member Avatar for ashley9210_1

I have a flex slider and I want to place a div over the top so I can put a nav bar on there. It's not co-operating with me. Any help will be apreccatied. Thanks in advance. HTML <body><div class="container"> <div id="logo-nav" class="sixteen colums"> <img src="img/logo-white.png" class="logo"> </div> <div class="flexslider" …

Member Avatar for diafol
0
374
Member Avatar for grafic.web

Hi there, this is my question : I would like to make te first page with a list coming from database (how to do?); Ex <p><a "href:secondpage.aspx">Record text</a</p> etc. etc. and from this list choosing one of the record, using the id of the record, and open the second page …

Member Avatar for JorgeM
0
329
Member Avatar for Donima4u

Please help, i get this error when i run my script on my testing server Notice: Undefined index: id in index.php on line 5 Notice: Undefined offset: 1 in index.php on line 8 but on my actual website, it displays a blank page, with the background colour, how do i …

Member Avatar for cereal
0
522
Member Avatar for np complete

In our college we practice python on ssh. This command prints all the computers ( processes ) logged in. ps -A | grep bash I was wondering how to obtain my process ID for that session.

Member Avatar for L7Sqr
0
280
Member Avatar for garyjohnson

Hello, I have a mysql query $query = "SELECT * FROM comments WHERE commenter_username IN (" . join(',', $list) . ") Or Number IN (" . join(',', $list) . ") ORDER BY comment_id DESC"; I want the query to select one row, the row with the highest id. Then store …

Member Avatar for Atli
0
298
Member Avatar for cuonic

Hi, I'm making a quick site and all the content is on one page, and I'm using a small menu with anchor links to make navigating to a certain part faster for the end user. I have two anchor links that work fine (About Me, My Projects) but the "Contact …

Member Avatar for cuonic
0
191
Member Avatar for while(!success)

Hey guys, I've been tearing my hair out for some time trying to figure out why my jquery has suddenly stopped working. The jquery script that I have written is fairly simple: $(document).ready(function () { $("#pTab").addClass("active"); $("#pBtn").click(function () { $("#pTab").addClass("active"); $("#gTab").removeClass("active"); }); $("#gBtn").click(function () { $("#gTab").addClass("active"); $("#pTab").removeClass("active"); }); }); I …

Member Avatar for while(!success)
0
367
Member Avatar for Dimonai

Hello to everyone, I Have a table inside 2 div's and I need to get the tables id! How can I do this by javascript?

Member Avatar for Dimonai
0
251
Member Avatar for Raja_2

If we want to create User ID in System, How can we assign the same user ID to different User in Linux

Member Avatar for Raja_2
0
186
Member Avatar for lorenzocalzaretti

Hi everybody, I'd like to know if there is a way to retrieve the id of a youtube video when it plays in a youtube xl page because on youtube xl the url is always "http://youtube.com/xl/" on any video. Thank you in advance.

Member Avatar for tinstaafl
0
264
Member Avatar for LastMitch

Hi, I'm getting this error: **Column 'id' cannot be null**. I can't figure it out why. I always **Import** the tables by using **.sql** into **MyPHPAdmin**. I only have **2** tables. One is **mypost** and the other **username**. For my **.sql** file I always have the same format with **NOT …

Member Avatar for broj1
0
5K
Member Avatar for pratik65

i want to Autogenerate id column in my database table , my code is given below . it is not workin it is giving me Exception as "startIndex Cannot be larger than Length of string , parameter:startIndex ".how should i solve it Private Sub AutoGenerateNo() Dim no As String Try …

Member Avatar for adam_k
0
768
Member Avatar for dinhunzvi

i have a MySQL table with the following columns: employeeID, firstName, lastName, gender, salary. whenever i insert a new record for this table i want to be able to retrieve the employeeID of that record. how should i write the commands in VB.Net

Member Avatar for Icone
0
1K
Member Avatar for Ahmed Goran

Hi all i have a form as follows: ** file1.php** <form action="<?php echo $editFormAction; ?>" method="POST" enctype="multipart/form-data" name="tblMovment" id="tblMovment"> <input name="MovDate" type="text" /> <input name="MovAmount" type="text" /> <input type="submit" name="submit" id="submit" value="add invoice" /> </form> 1. **I want to pass the Auto increment ID of the table above to another …

Member Avatar for Ahmed Goran
0
281
Member Avatar for garyjohnson

I have gotten a php file where users can create their own user ids and login and out with them and it saves their name in mysql, now i want these users to be able to upload small videos, can someone please tell me a php code for how a …

Member Avatar for diafol
0
367
Member Avatar for jellej

I have a jQuery tabs slider that auto rotates and depending on the slide it will adjust the background of the `<div>` element it is in. Auto rotate goes fine, the correct background is loaded, but when I manually click the tabs, it doesn't take the correct values. It's almost …

Member Avatar for Taywin
0
260
Member Avatar for Helianthus

Hi all, I have a new website that has a portfolio page. Currently, the code is such: <input type="image" src="_images/01.png" id="01" alt="" onclick="document.getElementById('outputDiv').innerHTML = '<section class=gallery><img src=_images/img01.jpg>' + '<p>Image name - by Photographer</p></section>';" /> This seems extremely cumbersome and is impractical for a site that could have many images on …

Member Avatar for Taywin
0
485
Member Avatar for Helianthus
Member Avatar for raficomps

> **I want to store session of employee that is employee id when employee login with username and password store employee id as session using vb.net** > **i have a form where employee enter his username and password after entering he must select new form from control panel when he …

Member Avatar for Pgmer
0
197

The End.