6,557 Topics

Member Avatar for
Member Avatar for mattyd

I apologize if I asked this question before - I may have. I am hearing two sides to this issue: 1. .php files WILL display in a web browser 2. .php files will NEVER display in a web browser I find this very confusing. I am watching video tutorials and …

Member Avatar for almostbob
0
500
Member Avatar for Sophia_1

Hi everyone, am trying to save excel/docs filename in mysql and then display the filename and open the file to edit. The filename can be save in mysql but unable to display the filename and open the file. Appreciate if you could advise. Thanks a lot. <div id="tabs-1"> <?php error_reporting(E_ALL …

Member Avatar for Sophia_1
0
362
Member Avatar for Aeonix

`$allowedForUniversalUsage = htmlEntities($_GET["potentially_super_malicious_code"], ENT_QUOTES);` Does script above help me against XSS and MySQLi injection? My thoughts would be: **Protection against XSS: Yes** I mean. XSS means that someone would be able to input code, which will be shown publicly and will be executed, the `htmlEntities()`. It converts actual code into …

Member Avatar for diafol
1
269
Member Avatar for joseph.lyons.754

I needed a grid layout to display some images. I found this one online http://alijafarian.com/demos/responsive-image-grids-using-css Its displays but not like it should. Through a process of elimination i figured it was a js file causing this, two to be precise. init.js & skel.panel.min.js These js file came with the template …

0
275
Member Avatar for LibraryCode

Would be really appreciated your help.I have a code like this: i need to display a total figure for passengers carried on each route and in each month and highlight in green the best performing route and highlight in red the worst performing route.I constraced those tables and now stack. …

Member Avatar for LibraryCode
0
333
Member Avatar for LibraryCode

Dear friends,help me please,i have a php array,how would i display table out of it,something went wrong : <?php $data = array( array ( "Hartsfield Jackson Atlanta International","Atlanta" , "ATL" ), array ( "Chicago O'Hare International", " Chicago", " ORD" ), array ("Los Angeles International", " Los Angeles", " LAX" …

Member Avatar for jkon
0
9K
Member Avatar for squeak24

OK, I have a Image that I want to resize when the Browser is made smaller. This will also be key when the person viewing the site on a smaller screen. At the moent I have tried the following in CSS: .img-resize { position: absolute; width: 100%; height: auto; top: …

Member Avatar for squeak24
0
250
Member Avatar for rchawdhari

Hi all, My project is on ruby on rails. I have one of ruby api returns json.jbuilder But I want that my api should not return json , it will display html.erb file Is anybody can help me???

0
306
Member Avatar for Muhammad_95

Hello i am very new to this form and i have learnt my self. sorry for my poor english! i want setting page as shows in picture but it not showing same relsult i have tried many time :( . [Click Here](http://i.imgur.com/ei1ZVo5.png) . my code is <div id="addcontainer"> <div id="addprimary"> …

Member Avatar for Muhammad_95
0
274
Member Avatar for Chris_31

Since I have little to no HTML experience I was looking for some assistance on adding a sum to a HTML table. Below is the HTML code that generates the table. From the way I understand it the program uses the HTML template and then reads a database to produce …

0
115
Member Avatar for Siberian

How would one write a pseudo:after css element as a HTML tag place it specifically in the mark-up then create a css rule all at the start of the loading of the DOM ?

Member Avatar for gentlemedia
0
263
Member Avatar for pritaeas

https://www.daniweb.com/programming/web-development/code/497022/automatic-facebook-post-bumper Inline code snippets are much smaller then the snippets in the code part of a code snippet article. Could you please make them equally small, for readability's sake?

Member Avatar for Dani
1
280
Member Avatar for SirMahlon
Member Avatar for davy_yg

Hello, I would like to know if you could help me figure out where does the faq comes from? I do now know how modify the faq any clue how to do it? http://tutorialzine.com/2010/08/dynamic-faq-jquery-yql-google-docs/ I have downloaded the demo and could not figure out how to change the faq. Thanks …

Member Avatar for diafol
0
182
Member Avatar for FarrisFahad

Hello, I have created a small CSS checkbox and radio buttons. But the problem is that when I check only one, all of them check with that one. So I can't check a single box. Can you check the code a tell me what is wrong. here is the page …

Member Avatar for diafol
0
242
Member Avatar for kathymac

Hi I have a php script that reads in the contents of an existing html file and saves it to a variable called $home_page. For a test I displayed this by printing variable out and the output displays as expected. Then using fpdf I wrote this variable out to create …

Member Avatar for mcglk
0
208
Member Avatar for pritaeas

You have some serious query/caching issues. Times vary but slow nonetheless. Finder -> My Bookmarks Page generated in 26.1996 seconds with 8 database queries and 7 memcached requests using 6.01MB of memory Latest Posts Page generated in 16.5247 seconds with 5 database queries and 6 memcached requests using 4.71MB of …

Member Avatar for Dani
0
252
Member Avatar for Behseini

Hi everyone, Can you please let me know how I can assign the selected value from a dropdown list into a $variable and print or echo it in the screen For Example if I have a dropdown list of years like: [CODE] <?php $years = array(); for ($i = 1900; …

Member Avatar for dheerajvermawd
0
23K
Member Avatar for davecoventry

I have a form which has a series of label/input pairs. I'm trying to get these to line up. It's quite simple in tables: you just layout the table as follows: <table><tr><td>Your name</td><td><input name="name" type="text" /></td></tr> <tr>...</tr></table> If I try the same thing with CSS: <div class="row"> <lable class="label-left">Name</div> <div …

Member Avatar for davecoventry
0
339
Member Avatar for LibraryCode

Hi,i have a table like this : <!DOCTYPE html> <!-- To change this license header, choose License Headers in Project Properties. To change this template file, choose Tools | Templates and open the template in the editor. --> <html> <head> <meta charset="UTF-8"> <title></title> <style> table{border-collapse: collapse;} tr th, tr td{border: …

Member Avatar for LibraryCode
0
954
Member Avatar for LibraryCode

Hi,could anyone tell me please what is the most common and good way to create HTML table from php array.And how to fill it with randomly generated numbers.? Regarding the table so many posts online,but which is the best approach?Thanks.

Member Avatar for diafol
0
7K
Member Avatar for kathymac

Hi I am using html2pdf to convert php output to a pdf. When I run this code without injecting any other php code it works fine. However, prior to creating a pdf, I need to find the the current user and display variables based on that id. I wrote code …

Member Avatar for Taywin
0
141
Member Avatar for Hamis_1

I need your help I am using Onchange in a form to submit a dropdown data to the database, but something boring when i select the data the page get refreshed, so if i was down the page then after selecting the page takes me up again before i finish …

Member Avatar for Taywin
0
23K
Member Avatar for lewashby

In the page below if the screen is to small or is resized it causes the data in the table cells to be out of sight. I would either like there to be a scroll bar at the bottom of the page or I'd like for the data in the …

Member Avatar for Taywin
0
160
Member Avatar for Habib_7

forexample I can go to [Click Here](http://www.msn.com/) and open developer tools and write this code `document.querySelector('.news a').click()` and it will open news. Now I want a program to do this automatically for me. write a javascript code that do this for me actully this was just a simple example I …

Member Avatar for Taywin
0
509
Member Avatar for Habib_7

for example I have this html code: <select id="mySelect"> <option value="0">apple</option> <option value="1">orange</option> <option value="2">banana</option> <option value="3">tomato</option> </select> 1-how can I select ` <option value="2">banana</option> ` (by passing the value attribute to selector function)then click on it with javascript with out using jquery 2-Is there any way to select this …

Member Avatar for phoenix254
0
314
Member Avatar for you207

Hi I'm try to change the background of the matched by a Regex text. Example: input: aaa aaa aaa //double white spaces in between output: aaa aaa aaa //change the background of all matched white spaces to red But it's coloring the wrong text. I have tried and searched google …

Member Avatar for JOSheaIV
0
933
Member Avatar for wikit

Hi, thanks in advance foy your time. I have in the past made a inventory site where a user selects from a dropdown what he or she has and saves it but this is a little different... What I'm attempting to do is this... User creates an account (have the …

Member Avatar for diafol
0
253
Member Avatar for Khalilur_1

Hi, I am new in web designing, but freequetnly facing problem with embedding video in my html5 web site. It is browers problem also. If chrome show, internet explorer does'nt show. I am looking for standard embeding code what will help me show my video on all major browsers.

Member Avatar for Ashley_9
0
350
Member Avatar for pro-tek

The End.