17,029 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Ole Raptor

I have a function that calls a php script to update cart items (cookie). When I have multiple items in the cart I use a loop that calls my function. function updateCart(ur){ $.ajax({ url: ur, success: function(data){ console.log(data); } }); } I think this is firing too fast or something. …

Web Development javascript
Member Avatar for Ole Raptor
0
224
Member Avatar for filipgothic

hey, I need help with this code, I have made database and code for inserting data, now I need code that will display data for group, in database I have groupnaziv, and id, here is code for inserting which works great, after that I will post code that I need …

Web Development cybersecurity mysql php sql
0
139
Member Avatar for centenond

so i dont know how to explain what im trying to do... maybe this is why i cant find any information on google.. but ill try so i want to do for example i have 100 photos but i only wanna display 25 on each page and if is more …

Web Development php
Member Avatar for Bachu
0
204
Member Avatar for filipgothic

I need code that will after pressing submit display concerts for selected group (grupanaziv), which includes number of sold tickets for that concert, place, and date, in database they are called place=mesto, date=datum, and tickets=karte <p align="center"><font color="#0000FF">Pregled grupa</font></p> <p align="center">Grupa kojoj koncert pripada: <select name="grupa_select" id="grupa_select"> <?php while($row = …

Web Development php
Member Avatar for filipgothic
0
163
Member Avatar for nouth

Can someone explain this what it is doing? if ( condition1 && condition2 && condition3 && condition4 && condition5 ) { code } It doesn't do what I want it to do but this does. if ( condition1 ) { if ( condition2 ) { if ( condition3 ) { …

Member Avatar for stultuske
0
154
Member Avatar for everton.retweets

I have been looking around the web today to see how I could get a list of followers from twitter. Apart of the code is - $tweet->get('followers/ids', array('screen_name' => 'YOUR-SCREEN-NAME-USER', 'cursor' => 9999999999)); My Question is, How do I create a loop to display "Screen_name" of all my followers

Web Development php
Member Avatar for diafol
0
221
Member Avatar for ErlendHL

Hi! I have now learned how to write to and read from .txt files on my server via [B]php[/B], but is it possible to do this with [B]JavaScript[/B]? :icon_question: Like that JavaScript writes to the .txt file every second without needing the user to refresh the page to write or …

Member Avatar for Donald_2
0
20K
Member Avatar for mathieu67

I have this issue with this little bitcoin ticker code I'm trying to put on my site [bitcoinvalues.net](http://www.bitcoinvalues.net), I used to work pulling the data from Mt.Gox but not anymore cause they shutdown their site. What I want to do now is replacing Mt.Gox with either bitstamp.net/api/ticker/ and blockchain.info/ticker ticker. …

Web Development api cryptocurrency php
Member Avatar for mathieu67
0
340
Member Avatar for Suzie999

Taking some baby steps in php. Here is my simple code... <?php $data = file_get_contents('http://www.blankwebsite.com'); //$regex = '/<TITLE>(.+?)\<\/TITLE\>/'; $regex = '/TITLE>(.+?)TITLE/'; preg_match($regex,$data,$match); echo "blah"; echo "<br>"; echo $match[1]; ?> The target source is basically this... > <HEAD> > <TITLE>Blank website. Blank site. Nothing to see here.</TITLE> > <META HTTP-EQUIV="Content-Type" CONTENT="text/html; …

Web Development html-css php regex
Member Avatar for Suzie999
0
178
Member Avatar for hriti

hello. i have some problem while uloading song or image in php...if i have a song name like "05.Judaiyaan [MusikMaza.Com].mp3" then it have double dots...and i am unable to retrieve mp3 extension...can anyone help me out???

Web Development image php
Member Avatar for diafol
0
162
Member Avatar for yugdablos

<html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> </head> <body> <form id="form1" runat="server"> <div> <asp:MultiView ID="MultiView1" runat="server" ActiveViewIndex="0"> <asp:View ID="View1" runat="server"> <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox><br /> <asp:Button ID="Button1" runat="server" Text="Next View" OnClick="goToSecondView_Click" BackColor="Red"/> </asp:View> <asp:View ID="View2" runat="server"> <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label><br /> <asp:Button ID="Button2" runat="server" Text="Go Back" OnClick="goToFirstView_Click" BackColor="Blue" /> </asp:View> </asp:MultiView> </div> </form> …

Web Development asp.net gui
Member Avatar for yugdablos
0
866
Member Avatar for filipgothic

<?php //Provjerava da li se korisnik vec ulogovao. Ako nije, ispisace gresku. session_start(); if (!isset($_SESSION['korisnik'])) { die('Za pristup ovoj stranici morate se prvo ulogovati.'); } if ($_SESSION['korisnik'] != 'administrator') { die('Za pristup ovoj stranici morate se prvo ulogovati kao administrator.'); } //Podaci o bazi podataka $hostname = ""; $db_username = …

Web Development php
Member Avatar for filipgothic
0
431
Member Avatar for filipgothic

I am unable to login even tho I provided correct username and password, this is error Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/a9752689/public_html/zadatak/index.php on line 79 (I am not sure what this error means, since I don't want to show any rows, I don't …

Web Development html-css php sql
Member Avatar for filipgothic
0
302
Member Avatar for arafath077

how to display this array.i tried sevaral way.does not working. Array ( [0] => Array ( [date] => Array ( [epoch] => 1401197400 [pretty] => 7:00 PM IST on May 27, 2014 [day] => 27 [month] => 5 [year] => 2014 [yday] => 146 [hour] => 19 [min] => 00 …

Web Development php programming-construct
Member Avatar for delta_frost
0
276
Member Avatar for ravi142

Hello I have use 'LIKE' query in Model $this->db->like('job_title','keywords','both'); $query = $this->db->get('job_description',$data); which generate Query Output like SELECT * FROM (`job_description`) WHERE `job_title` LIKE '%keywords%' LIMIT 1 **Problem:** How could i remove the LIMIT that automatic generate in Query **OR** can i given Infinite LIMIT in CI Query. Can you …

Web Development php sql
Member Avatar for veedeoo
0
592
Member Avatar for hiiiiii@

hi i have a select(dropdown button) which displays various chioce for the user to select .. i want to validate it that if the user does not select any choice i should not able to do any action how to do. Is there any like required available for text box …

Web Development gui html-css
Member Avatar for hiiiiii@
0
157
Member Avatar for wfray

I've recently upgraded to Windows 8.1 and IE 11. When testing my PHP/html/Javascript code, using Xampp, various display and processing errors occur. For example: a particular javascript function doesn't seem to even get get invoked; the javascript return function works differently; icons don't display correctly, etc. When I put the …

Web Development javascript web-browser
0
170
Member Avatar for david.roun.7_1

Ok, so here is the problem. Below is a fairly simple code that will count the number of members registered to a site. The html works just fine but the php doesn't display anything unless I do something like `if($result>0)`--- then it will display everything to the right of the …

Web Development php session
Member Avatar for david.roun.7_1
0
1K
Member Avatar for filipgothic

Hey guys, I need example of simple site that stores registration of students and for each student shows what class can he/she go depend on what college they are registered to, so its bassicly just words and everything static. The registration page and database is not problem, but checking to …

Web Development php sql
Member Avatar for filipgothic
-4
6K
Member Avatar for ayesha789

Hi, I am using XAMPP for developing my Inventory management system. I have stored the XAMPP in Drive C in Windows. But there is a risk if windows corrupt I will lose all my data , So I want to save the XAMPP in Drive D and acces all the …

Web Development microsoft php windows-xp
Member Avatar for mukul127
0
21K
Member Avatar for dlmagers

Hello, I am definitely a beginner. I need some help with this application. I need to be able to have an alert box pop up and as the user 'Enter degrees in Fahrenheit\n Or enter 999 to end entries'. I am not sure what I am doing wrong. Thank you …

Web Development javascript
Member Avatar for Alberto Bucur
0
1K
Member Avatar for davy_yg

Hallo, I wonder how do you create a scrollable website like: [scrollable website](http://www.nexgardfordogs.com/Pages/offers.aspx) I mean I would like to design a tall portrait website then whenever people click the navigation bar it will take them to certain section of the portrain website just like in the link example. How to …

Web Development php web-design
Member Avatar for <M/>
0
232
Member Avatar for oskido2010

Hi Guys I am trying to display friends of a logged in user for my website, the user(person1 is friends with person2 and I would like this to display when either person1 or person2 log in( this should be under the hyperlink) Friends. and also to be able to see …

Web Development display php sql
Member Avatar for diafol
0
239
Member Avatar for aquilina

i have problem with my index id for class_student.php.. i not sure where it missing smth.. kindly look it for me. there is an error with index id at line 3 which mean $get_id = $_GET['id']; <?php include ('session.php'); ?> <?php $get_id = $_GET['id']; include('header.php'); $user_query = mysql_query("select * from …

Web Development php session
Member Avatar for aquilina
0
882
Member Avatar for vizz

When mouse is on image display one value from array inside **thought** div's span. Show next value each time. When values ends start with first value [something like this](http://jsfiddle.net/W4fm9/) , but when hover on image var arrValues = [ "one", "two", "three" ]; <img src="images/thinker.png" /> <div class="thought"><span></span></div>

Web Development javascript pc-peripheral
Member Avatar for vizz
0
245
Member Avatar for dany12

I have a simple menu like this **HTML** <div> <ul> <li> <a href="#">Demo</a> </li> <li> <a href="#">Demo2</a> </li> <li> <a href="#">Demo3</a> </li> <li> <a href="#">Demo4</a> </li> <li> <a href="#">Demo5</a> </li> </ul> </div> **CSS** ul li:nth-child(1){border-top:4px solid red;} ul li:nth-child(2){border-top:4px solid pink;} ul li:nth-child(3){border-top:4px solid blue;} ul li:nth-child(4){border-top:4px solid orange;} Now …

Member Avatar for dany12
0
297
Member Avatar for dhani09

I'm trying to do a username availability check on my website, i.e during registration, it checks if a username is taken or still available. However when i execute i get no result at all,nothing happens. My code: **Registration page** ***register.php**: * //this form posts to the same script. //In this …

Web Development javascript javascript-jquery php
Member Avatar for iamthwee
1
492
Member Avatar for zein1212

i'm new learn php and mysql and i got stuck can't get better logic for my brain i want to get message from page if i type url like **index.php?user=user1** and page will show with data table and if username doesn't exist and page show no username found so this …

Web Development display mysql php sql
Member Avatar for zein1212
0
536
Member Avatar for mattster

Dear All, This must be a very common problem, but yet nowhere on the internet wishes to display a working answer. I am in a sticky situation. I have the following .htaccess file on my local webserver: http://localhost/testsite/.htaccess DirectoryIndex home.php?view=home RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} …

Web Development apache file-system php
Member Avatar for mattster
0
353
Member Avatar for malatamil

before that i upload values using implode(),after that i need display that array values. below this code showing array values as in single variable.[Click Here](http://www.namshimoga.com/searchbycat.php?catagory=Health+%26+Fitness&maincateg=Health+%26+Fitness&maincatid=151&city=$city) see that page i added 5 categories but it displayed in single variable, i want to separate it, becaz that ids are different category:Pediatrician,ayurveda,skin Care,optical,yoga, …

Web Development file-system php
Member Avatar for malatamil
0
264
Member Avatar for malatamil

i need to show the array values separate $ids = array(12,13,14); $ids1 = explode(",", $ids); echo $ids1; if i run this it shows array

Web Development php
Member Avatar for malatamil
0
137
Member Avatar for dlmagers

Hello, I have read the requirements of this challenge and I have a good understanding of what needs to be done. I am confident that my program works but it DOESN'T. What a blow to my confidence. I am in hopes that someone kind person would point me in the …

Web Development javascript
Member Avatar for dlmagers
0
18K
Member Avatar for dlmagers

Hello, I am working on this javascript application to be able to make change. I have my html and css files down good. Here is what I have. <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Make Change</title> <link rel="stylesheet" href="styles.css"> <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> <script src="make_change.js"></script> </head> <body> <section> <h1>Change Calculator</h1> <label>Enter amount …

Web Development file-system html-css javascript
Member Avatar for dlmagers
0
6K
Member Avatar for websponge

In the process of converting an old web application I did from MYSQL to MYSQLi and am a bit lost with echoing a result, This code works in the old app with Mysql: <textarea name="dump" style="width:300px; height:400px;"> <?php include ("../connect.php"); $content = mysql_query("SELECT $field FROM customer WHERE cusid = '$cusid'") …

Web Development mysql php
Member Avatar for websponge
0
333
Member Avatar for Szabi Zsoldos

Hey guys, Having some difficulties understanding why my OR || operator is not working... First part is BOOLEAN and it is working Second part is STRING and it is working, it returns the desired value What could it be ? <?php if(($oferte->isOrdered($oferte->CleanSapStyleNumbers($oferta->VBELN)) == false) || ($oferte->OfertaValida($oferte->CleanSapStyleNumbers($oferta->VBELN))->valabilitate == "VALABILA")): ?> some …

Web Development php
Member Avatar for minitauros
0
207
Member Avatar for vizz

How to create infinite loop of Shuffle Text Effect using following code. It stops after animation is finished. How to start again when first loop of animation is completed? <script src="http://code.jquery.com/jquery-1.6.3.min.js"></script> <div id="container">text</div> **main script** /** * @name Shuffle Letters * @author Martin Angelov * @version 1.0 * @url http://tutorialzine.com/2011/09/shuffle-letters-effect-jquery/ …

Web Development javascript
Member Avatar for ryantroop
0
956
Member Avatar for nadiam

hi, i have index.php and home.php. in order to go to home.php users have to login in index.php. but how do i not allow users to be directed to home.php when they type home.php address in the address bar? *am i making sense?*

Web Development microsoft-access php session
Member Avatar for nadiam
0
502
Member Avatar for Dzenad

Hello, I have stored values in database via html and php form. Now I am creating form which will enable users to edit inputs. I am having trouble with input types radio and checkboxes. I have stored checkboxes values in database via implode function. ----- $products_rec=$_POST['products']; $products=implode(", ", $products_rec); ----- …

Web Development html-css iphone php
Member Avatar for Dzenad
0
416
Member Avatar for davidjennings

Hi All, I am currently trying to update a check box . Then pass the data back through the same page and if set update DB. The code is long so I shall be as concise as possible. I have pulled the data from the DB and I am using …

Web Development first-post php
Member Avatar for davidjennings
0
973
Member Avatar for nadiam

Hi, so im reading the password_hash() docs and wondering what the 'cost' is for?

Web Development php
Member Avatar for nadiam
0
101
Member Avatar for missy_mi

Hello, i am facing a little problem. my website page logo is cut a half mm when i use my 1366 x 768 screen resolution, win7, 64bit laptop and is not cut when i use my 1920 x 1080, win8, 64bit screen resolution laptop. Both using the same php code …

Web Development php
Member Avatar for missy_mi
0
173
Member Avatar for engrjd91

I have my php page, in which i have 3 fields old pass, new pass, confirm new pass. I'm trying to chnge the password of my id from which i am logged in. The program first check in the database and change the password of the logged in user. I …

Web Development cms html-css mysql php
Member Avatar for engrjd91
0
680
Member Avatar for daocntt

I have two table data as: - table Classifieds id | title | body | city | district| - table Locations id | label Relationship City of table Classifieds is Id two Locations Now I want using Fulltext Search when users enter keyword (title, body, label(USA, Canada...)) then it will …

Web Development php seo
Member Avatar for diafol
0
332
Member Avatar for vizz

I want to create simple css3 effect like gallery effect [here](http://livedemo00.template-help.com/wt_47303/) How to create classess * **.animation{}** * **.scaleDown{}** * **.rotateFoldTop{}** * **.rotateUnfoldBottom{}** when menus are clicked **scale down main wrapper**, after **scale down** is **completed** then only **rotateFoldTop** main page & same time **rotateUnfoldBottom next page** (activeTab). After rotateUnfoldBottom …

Web Development html-css javascript
0
100
Member Avatar for SaroGFX

Dear Daniweb, I just got the following [HTML5 music player](http://www.audioplayerhtml5.com/player_blackControllers_WithoutPlaylist_Ex1.html), which gets it's music from a list I provide in HTML like this: <ul> <li class="xtitle">Follow Me Here B</li> <li class="xauthor">Author Name</li> <li class="xsources_mp3">audio/adg3com_freeform.mp3</li> <li class="xsources_ogg">audio/adg3com_freeform.ogg</li> </ul> <ul> <li class="xtitle">This is Freeform C</li> <li class="xauthor">Author Name</li> <li class="xsources_mp3">audio/wm_follow_me.mp3</li> <li class="xsources_ogg">audio/wm_follow_me.ogg</li> …

0
328
Member Avatar for roxanne.martos

Hi i am reworking on my password security on the register page so far it is okay apart from the fact that im getting this error: Fatal error: Call to a member function create() on a non-object ` $bcrypt = new Bcrypt; try { $email1->create(array( ` 'username' => Input::get('username'),` 'password1' …

Web Development cybersecurity php
Member Avatar for roxanne.martos
1
236
Member Avatar for fedaa91

Hello I made a web page that needs the user to insert some info in text boxes and then submit them . I want to ask about how can i insert as an option to drop down list once i enter the textbox value by the user like this NAME …

Web Development asp asp.net javascript-jquery
Member Avatar for fedaa91
0
1K
Member Avatar for davy_yg

metode image managementnya masih konstruksi Strict Standards: Only variables should be passed by reference in C:\xampp\htdocs\rustoleum\administrator\input_image.php on line 123 Invalid file Data telah tersimpan. Judul Image last uploaded image ---------------------------------------- database: id image path judul 0 bottleAirFreshner.jp Air Freshener 0 Dispenser.jpg Dispenser 0 bottleAirFreshner.jp 0 php.php 0 74.jpg dsad 0 …

0
126
Member Avatar for nouth

how do I do pattern matching for something like `/^(.*)text/` and `/text(.*)$/`?

Web Development javascript regex
Member Avatar for nouth
0
157
Member Avatar for ravi142

Hello I faced this type of Error in codeigniter. Can you suggest me any solution... *ERROR : You must use the "set" method to update an entry.* In Model Code is.. $this->db->where('user_id',$user_current_id); $this->db->update('admin_resume_expertise',$data); Thank YOu

Web Development php php-codeigniter
Member Avatar for krishnanair
0
181

The End.