52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Khan2014

trying to display four images in row. html code` <section class ="selection-meals"> <ul class="meal-showcase"> <li> <figure class="meal-photo"> <img src="resources/css/imgs/1.jpg" alt="meal1"> </figure> </li> <li> <figure class="meal-photo"> <img src="resources/css/imgs/2.jpg" alt="meal2"> </figure> </li> <li> <figure class="meal-photo"> <img src="resources/css/imgs/3.jpg" alt="meal3"> </figure> </li> <li> <figure class="meal-photo"> <img src="resources/css/imgs/4.jpg" alt="meal4"> </figure> </li> </ul> <ul class="meal-showcase"> <li> …

Web Development display html-css
Member Avatar for Khan2014
0
2K
Member Avatar for daz_omega

Hi, I have an unusual problem, I am developing within a wordpress environment and using a plugin. To futureproof the plugin I do not want to edit the code that is generated to include HTML tags, because when the plugin is updated it will overwrite my change. I am looking …

Web Development html-css javascript wordpress
Member Avatar for gentlemedia
0
399
Member Avatar for rpv_sen

Hi I purchased windows hosting for php from Godaddy. But my .htaccess is not support in windows, so i have to use web.config for my redirection and hidding the filename extension. Can anyone please help me to fix the issue.

Web Development apache client-server microsoft php
Member Avatar for rpv_sen
0
10K
Member Avatar for mrkm1188

I have a chart that is being populated from a query in the vb code but when the chart is displayed there is an extra x-axis grid tick. How do i get the x-axis grid to only display the number of items being returned? **VB code: ** Public Function CLGenerateRevenueHistoryChart() …

Web Development asp.net dataset open-source
0
209
Member Avatar for Fieyzah

hello everyone, i had to make a new system for practicum student system this is coding for view student that has been registered. first of all sorry fpr the keywprd that you dont understand cause i am Malaysian `<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta …

Web Development mysql php
Member Avatar for pritaeas
0
444
Member Avatar for Darth Vader

Hello, I am trying to restrict to maximum type 60 words in a textbox. I have tried to put a code that check if we have more than 60 words. The code restricts to 60 words but when I loop the textboxes words and put back the string (up to …

Web Development javascript
Member Avatar for DaveAmour
0
245
Member Avatar for vizz

With following code I tried to upload image and video file at the same time but, image file is uploading & video file is not uploading <form class="pure-form pure-form-aligned" action="Processor.php" method="post" enctype="multipart/form-data" > <fieldset> <div class="pure-control-group"> <label for="image">Upload image</label> <input type="file" name="image" class="pure-input-1-4" /> </div> <div class="pure-control-group"> <label for="video">Upload video</label> …

Web Development file-system php video
Member Avatar for jj.dcruz
0
1K
Member Avatar for Priti_P

Hello, I want to check whether one given date range is falling under another range or not. Is there function for this? Because when I am calculating this using To and FROM dates , it is taking efficient. I have to apply separate condition for TO date and FROM date. …

Web Development php
Member Avatar for DaveAmour
0
1K
Member Avatar for shashigowda

i want to create a image gallery,i want to insert multiple files at a time,that should be stored in a database,and i want to display that in my profile.php as a gallery.

Web Development image mysql php
Member Avatar for jj.dcruz
0
289
Member Avatar for AntonyRayan

Hi. I am displaying image dynamically from database, When I click the particular image I want to show that image in a popup or lightbox in a simple way. How to do?

Web Development image php
Member Avatar for jj.dcruz
0
144
Member Avatar for Catalin_1

Hello, i'm having a little bit of an issue with a portion of code ... It's for a portfolio gallery. $sliders_out = '<div class="fx"><ul class="slides">'; foreach($slides as $slide) { $local = substr(str_replace(array(get_bloginfo('url'), '.jpg', '.png'), array('.', '', ''), $slide['slide_image']), 2); $locals = array_merge(glob($local.'*1024*'), glob($local.'*768*'), glob($local.'*')); rsort($locals); if (isset($locals[0])) $src = $locals[0]; …

Web Development php wordpress
Member Avatar for lps
0
183
Member Avatar for erum

I have just one tables in database and three stored procedure (IUD)..and i m using EF for db integration MVC 4 ..as soon as i insert data in db ..it just display as it as (call it select * from tbl1) ..what if i m going to select data from …

Web Development asp.net
Member Avatar for alisnikol
0
207
Member Avatar for bLuEmEzzy

Guys what is wrong with my code? Why it gives me an output "hi"! Can you explain it to me. Please. Thank You! <?php $a = "Unemployed"; if ($a == "Employed, Locally" or "Employed, Abroad"){ echo "hi"; } elseif ($a == "Unemployed"){ echo "hello"; } ?>

Web Development php
Member Avatar for bLuEmEzzy
0
120
Member Avatar for James_43

Hi everyone, I am still quite new to HTML and PHP. I have a form in HTML pointing to a PHP script that sends an email. But it doesn't work - please tell me where I am going wrong! The HTML is: <div class="main-content three-fourths"> <h1>Get in touch</h1> <p class="lead">We'd …

Web Development dns email php
Member Avatar for Kyle Wiering
0
479
Member Avatar for phoenix254

[home page](http://pastebin.com/DHWcW3aU) [css sheet](http://pastebin.com/LFgnjXkt) can u tell me which is mistake i did ?

Web Development php
Member Avatar for phoenix254
0
398
Member Avatar for ramsiva

I am struggling to remove white spaces, any body help me var dt1="11 : 30 : am"; I want the result var dt1="11:30:am";

Web Development javascript
Member Avatar for Troy III
0
130
Member Avatar for mark103

Hi guys I'm using the script `add_address.php` to output a list of email addresses from the `message` box to allowed me to split the email addresses to add to each comma. I want to output the email addresses from the `message` box to the `text` box in the `send.php` script …

Web Development email first-post html-css php
Member Avatar for DaveAmour
0
203
Member Avatar for Deidredup

I am looking for a script which will allow me to place a vbulletin login box on a non vbulletin page. There are couple of scripts, but they are for older versions. I am using v3.6.8 Does anyone know where to find one for 3.6.8? The closest I could find …

Web Development php vbulletin
Member Avatar for Fadli_1
0
3K
Member Avatar for phoenix254

how can i create script with php to make group of friend vhat

Web Development php
Member Avatar for phoenix254
0
102
Member Avatar for Kent55

I am making a game where a user has to move a character around a grid and collect passengers. I have managed to construct this grid using some CSS and jQuery however I now need to add a player to the grid and have them move one square at at …

Member Avatar for DaveAmour
0
352
Member Avatar for ramsiva

my index page <script type="text/javascript"> $(document).ready(function(){ $("#first_name").blur(function() { var first_name = $('#first_name').val(); var fathermobile = $('#fathermobile').val(); if(first_name=="") { $("#disp").html(""); } else { $.ajax({ type: "POST", url: "detail.php", data: 'first_name='+ first_name +'fathermobile='+fathermobile, success: function(html){ $("#disp").html(html); } }); return false; } }); }); and my detail.php <?php include("include/connect.php"); if(isset($_POST['first_name']) && isset($_POST['fathermobile']) ) …

Web Development javascript php
Member Avatar for ramsiva
0
248
Member Avatar for newcoder310

I have a `jsp` page where I enter a username and click on a submit button. On clicking this button, I post the username along with a hidden target page value to the other application. The other application does its processing and issues some cookies and redirects to the target …

Web Development java-jsp
Member Avatar for DaveAmour
0
169
Member Avatar for raul2329

Warning: require_once(EzOptions.php): failed to open stream: No such file or directory in /home/u206897974/public_html/wp-content/plugins/easy-adsense-lite/easy-adsense-lite.php on line 38 Fatal error: require_once(): Failed opening required 'EzOptions.php' (include_path='.:/usr/lib/php') in /home/u206897974/public_html/wp-content/plugins/easy-adsense-lite/easy-adsense-lite.php on line 38

Web Development file-stream file-system php
Member Avatar for edbr
0
143
Member Avatar for nibbler

Hi I have a twiiter user linking to a specific page on my website which I would like to redirect to my home page. From the internet I have found and adapted the following code RewriteCond %{HTTP_REFERER} (twitter.com) [NC] RewriteRule myloginpage.php http://mywebsite.org/index.html [R,L,NC] Unfortunately this doesn't do anything. Can anyone …

Web Development apache
Member Avatar for nibbler
0
351
Member Avatar for Shaziahussain

Hello Experts I have following codes <html> <head> <style type=text/css> #box1{ margin:0 auto; border:1px solid green; width:400px; height:70px; color:blue; padding:10px; overflow:hidden; background-image:url(images/DREAM.JPG); background-size:100% 100%; background-repeat:no-repeat; } #logo { width:120px; height:70px; background-image:url("images/asia.png"); background-repeat:no-repeat; background-size:contain; float:left; } .bg{ height:100%;width:100%; } </style> </head> <body> <div id="box1"> <div id="logo"></div> <div style=float:left;><p style=font-weight:bolder;color:blue;font- size:20px;margin-top:10px;>How to …

Web Development html-css
Member Avatar for JorgeM
0
154
Member Avatar for v1shwa

Hi, I don't know if there is some name for this but what I want to create a script in php which runs in the background and capable of sending and receiving messages. This is what I want to do exactly: 1. Listen to a URL http://site1.com through xmpp protocol. …

Web Development http-protocol php
Member Avatar for jkon
0
401
Member Avatar for Pythogeek

Hi, I have problem , the same number of comments that appears in all items this is my code : <?php $requete = $bdd->query('SELECT COUNT(c.id_commentaire) AS total FROM commentaire c INNER JOIN pytho_blog a ON a.id = c.id_article '); while($data=$requete->fetch()) { echo $data['total']; } ?> Thank you for your help …

Web Development php
Member Avatar for Pythogeek
0
79
Member Avatar for anmol.raghuvanshi1

<?php $host = 'localhost'; $user = 'root'; $pass = '******'; $db = 'test'; $error = 'Error Connecting to database'; $error1 = 'Error Selecting to database'; $connect = mysql_connect($host,$user,$pass) or die($error); $select_db = mysql_select_db($db) or die($error1); ?> <table border="1px"> <tr> <div class="differentLine"> <th >&nbsp;</th> <th > 9:15 - 10:15 </th> <th …

Web Development php
Member Avatar for lps
0
246
Member Avatar for gangachana

I need to read the span value and insert into database in php <span class="GrandTotal">0.00</span>

Web Development php
Member Avatar for mattster
0
2K
Member Avatar for MarkDbro

Hey Im making an online store and cant figure out the section on inserting data into a table (in this case its inserting customer details into a customer table). Its the VALUES line that is displaying the error: mysql_query() expects parameter 1 to be string, resource given. I have looked …

Web Development mysql php
Member Avatar for Szabi Zsoldos
0
1K
Member Avatar for yankeefan24

Im trying to check checkboxes based on a cfselect selection. Im trying .prop but is not passing the info to the check box I added p#testing.html to see if the query was working and it is passing info as text based on selection but not to checkbox function roleCallback(text) { …

Web Development coldfusion javascript-jquery
Member Avatar for yankeefan24
0
361
Member Avatar for janicemurby

Hi im getting this error on inobox.php any ideas please Warning: implode(): Invalid arguments passed in /home/jktempla/public_html/SCRIPTS/DATINGSCRIPT/inbox.php on line 199 <?php // Fetch user random for display on bottom <THIS LINE>$idtopuid = implode(',', $topuid);<THIS LINE> <THIS> $userquery = mysql_query("select * from user where user_id != '".$_SESSION['userid']."' and user_id NOT IN …

Web Development php
Member Avatar for janicemurby
0
361
Member Avatar for spud91

Hi guys! I have a database which holds a table called users. in there i have a balance column which contains a numeric value. I have the following code and for some reason it doesnt work: <?php session_start(); include_once("config.php"); ?> <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Search</title> …

Web Development html-css mysql php
Member Avatar for jj.dcruz
0
266
Member Avatar for bolfescu

hy im using this script but unf cant find the bug related to update the values, its keep telling succesuful update but dsnt update in db...[Click Here](http://www.script-tutorials.com/datatables-data-from-ajax-edit-in-place/)

Web Development php sql
Member Avatar for bolfescu
0
218
Member Avatar for Makara

Hello pals. I have a code here that is updating only the last column of my sql database table. how can I upgrade it to work for the rest upper rows please. my code is as follows <?php error_reporting (0); // Connect to server and select databse. $mysql_hostname = "localhost"; …

Web Development php
Member Avatar for Makara
0
3K
Member Avatar for AntonyRayan

Hi , In a form , I have a field for image , in edit page, i can display that image, when I am clicking update, without modifying image it shows error in image. How to save previous image if its not changed. Sample Code: <span><img src="profile/<?=$rows["upload"]; ?>" id="blah" style="height:25%; …

Web Development image php
Member Avatar for alisajjad160
0
193
Member Avatar for chaitu11

My Model : admin_login_model.php Unable to view them in browser as shown in the image below http://i.stack.imgur.com/fychj.png i am working on CodeIgniter version 3 Can anyone tell me what is the issue if ($email === $admin_email && $password = $password) { echo 'credential match'; $this->load->helper('cookie'); if ($remember_me == '1') { …

Web Development php
Member Avatar for alisajjad160
0
298
Member Avatar for SoferSurfa

Hello everyone, I'm trying to select same "id" for more than one input. My code works with 1 input, but when I add 2 textareas or more my code stops working... Here's my code: *Javascript* *<script> function validateComment() { var value = $("[id=commentbox]").val(); var word = value.toLowerCase(); // make sure …

Web Development javascript
Member Avatar for Troy III
0
2K
Member Avatar for Venus_1

i have a query that retrieves let's say 10 records. the output should be 10 pdf files. so 1 pdf per records. it can be saved on user's computer. im using fpdf by the way. just wondering if i'm going to develop it through web using PHP will it be …

Web Development pdf php
Member Avatar for Venus_1
0
261
Member Avatar for gagan22

hi all, I want to use multiple select drop down box. I am using client, project and activity. These all values are coming from database. I want when i select one client from first drop down box .Then second drop down box will display only that project which come under …

Web Development javascript
Member Avatar for gumbiliki
0
258
Member Avatar for CaffeineCoder

I'm trying to add additional security/validation to an online form that has AJAX backend. When I try to add a filter to remove spaces (such as trying trim or replace), the functionality breaks; no error, just no action in general. What's the best way to acheive this without breaking the …

Web Development javascript
Member Avatar for CaffeineCoder
0
288
Member Avatar for someoneelse

I have a (probably stupid) question I hope someone can help me with.. So, I set a variaible beased on a form in put in the code behind, but then, a few lines down when I go to call it , it has a undefinded value. I don't understand.. Below …

Web Development api asp.net
Member Avatar for DaveAmour
0
259
Member Avatar for phoenix254

i am trying to create a site, when user create his account then make automatic his directory with his name. when he wants to upload his photos, these photos go automatic in his folder or directory. im my register page i have added these lines: $addtothedb="INSERT INTO login (firstname,lastname,useremail,password,Gender,Dateofbirth) VALUES …

Web Development file-system php
Member Avatar for phoenix254
0
535
Member Avatar for Violet_82

Hi guys, I'm looking into MVC and I'm reasing this tutorial http://www.asp.net/mvc/overview/older-versions/hands-on-labs/aspnet-mvc-4-fundamentals I've got to the point of adding a model and the class they add is this: public class StoreIndexViewModel { public int NumberOfGenres { get; set; } public List<string> Genres { get; set; } } I'm not really …

Web Development asp.net
Member Avatar for DaveAmour
0
190
Member Avatar for R0bb0b

Hello. Quick question. I have several thousand emails pulled in from several email boxes throuph php imap and I need to search each subject with an array of search terms which returns a bitmask, one bit for each index of the array. 1 = found, 0 = not found. So, …

Web Development php seo
Member Avatar for diafol
0
160
Member Avatar for Themby

I have managed to assign privileges to an administrator and customer. My problem now is how to assign another user the privilege of seeing administror's posts?

Web Development php
Member Avatar for diafol
0
103
Member Avatar for uchejava

I have a html select list where one can chose an option. <select name='price' id='price'> <option value='' >Select....</option> <option value='0-50,000'>0-50,000</option> <option value='50,000-100,000'>50,000-100,000</option> <option value='100,000-150,000'>100,000-150,000</option> <option value='150,000-200,000'>150,000-200,000</option> <option value='200,000 and above'>200,000 and above</option> <option value='see all'>See All</option> </select> When this list is submitted via a html submit button, this list shows …

Web Development php
Member Avatar for Szabi Zsoldos
0
275
Member Avatar for Nimerion

Hey guys, I am trying to use the **Google Calendar API** within a **php webpage** to display personal calendar events for each user. I made it displaying the events, but I'm stuck on displaying the Event Colors for every event. I was looking around the internet for two days now, …

Web Development api google google-api php seo
Member Avatar for Nimerion
0
2K
Member Avatar for sam230

http://api.ean.com/ean-services/rs/hotel/v3/list?minorRev=4&cid=55505&apiKey=5q4gzx43g6ukcrq798z2hz75&customerSessionId=&locale=en_US&currencyCode=USD&xml=<HotelListRequest><city>new%20delhi</city><RoomGroup><Room><numberOfAdults>2</numberOfAdults><numberOfResults></numberOfResults></Room></RoomGroup></HotelListRequest> when i call api directly to browser i got right data in xml format. but when i call it through curl.. sometime i get data in json format or sometimes no data.. [CODE] $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,"http://api.ean.com/ean-services/rs/hotel/v3/list?minorRev=4&cid=55505&apiKey=5q4gzx43g6ukcrq798z2hz75&customerSessionId=&locale=en_US&currencyCode=USD&xml=<HotelListRequest><city>new%20delhi</city><RoomGroup><Room><numberOfAdults>2</numberOfAdults><numberOfResults></numberOfResults></Room></RoomGroup></HotelListRequest>"); curl_setopt($ch, CURLOPT_FAILONERROR,1); curl_setopt($ch, CURLOPT_FOLLOWLOCATION,1); curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); curl_setopt($ch, CURLOPT_TIMEOUT, 15); $retValue = …

Web Development api php xml
Member Avatar for Terrymol
0
927
Member Avatar for ramsiva

my firstvariable is and second variable is $one=07:54:PM; $two=07:55:AM; I am suffering from getting difference in munutes any body help me result in minutes.

Web Development php
Member Avatar for DaveAmour
0
160

The End.