6,574 Topics

Member Avatar for
Member Avatar for ElegantElephant

Just wondering if it normal and acceptable use both on one string before entering it into a database or displaying it? For example: [CODE]$project_name = mysqli_real_escape_string($dbcon,htmlspecialchars($_POST['project_name']));[/CODE]

Member Avatar for ElegantElephant
0
82
Member Avatar for ndeniche

have a similar problem: i have my #nav_bar id with a .first class, which i have originally with an image. but, i want it to change image when it's hovered on, like this: [code=css] #nav_bar .first:hover { background-image:url(image2.gif); } [/code] [code=html] <table cellpadding="0" cellspacing="0" id="nav_bar"> <tr> <td id="first"><a href="yada yada">yada …

Member Avatar for kewp
0
316
Member Avatar for priti kumari

please, check and give new source code[code]function getsubmit() { var lastname; var Firstn=t1.value; var cn=new ActiveXobject("ADODB.Connection"); var StrConn="provider Microsoft.Jet.OLEDB.4.0"; Data Source=d;//student_base.mdb; var SQL="select t1 from manisha where FirstName="'"Firstn+"'"); On.open(SQL,cn); surname.value=rs(0); DOB.value=rs(1); alter(rs(0)); rs.close(); cn.close(); } </script> </head>[/code]

Member Avatar for priti kumari
0
53
Member Avatar for rikkie

Hi, I am in the process of building my first website (no coding experience) My home page (saved as .aspx) uses asp.net controls. All other pages are saved as .html. I can navigate fine from the home page to any of the other pages; however when I try to navigate …

Member Avatar for rikkie
0
86
Member Avatar for semanticart

Hey guys i have the following code and i need to be able to look through a section of html and pick out all the elements that have the classname cmsedit. The code below does that however if the element has new lines or tabs in it ect the the …

Member Avatar for cwarn23
0
99
Member Avatar for itisnot_me

ok so i an setting up an html email thing that you use an wysiwyg to format the text (just bold links and stuff like that) and i am running into a problem with my links they seem to be escaping and then not printing out in gmail with a …

Member Avatar for itisnot_me
0
81
Member Avatar for baby jai

Ok this has become EXTREMLY annoying, im trying to work with some css with a several column [I]used to be table[/I], here is the css [CODE].catleft { width: 18px; height: 27px; float: left; background: url({style_images_url}/Cat-Left.png) no-repeat; } .catbody { height: 27px; float: left; background: url({style_images_url}/Cat-BG.png) repeat-x; } .catright { width: …

Member Avatar for ko ko
0
61
Member Avatar for MikeBrown

Hi guys i m trying to view a log file as a html file from my server , i m using one script which is [URL="http://www.builderau.com.au/program/php/soa/Transform-plain-text-files-into-Web-pages-automatically-with-this-PHP-script/0,339028448,339272897,00.htm"]here [/URL] , so overall i m not a coder just trying to get it work 1. because log file latest entries are at bottom …

Member Avatar for saiprem
0
131
Member Avatar for sunaruna84

Hi friends I have used this script for avoid right click in my webpage. I want to disable " savepage as" in file menu . please let me know ur suggestion. [CODE] <script language="JavaScript"> document.onmousedown=click; function click() { if ((event.button==2)) { alert("Sorry you didnt access right click"); } } </script> …

Member Avatar for sunaruna84
0
72
Member Avatar for skorm909

ok so im starting out in html and know the pure basics of javascript... (know a little bit of c++ but that wont help me here i think) well anyway i need to make a website and from what im understanding is that javascript basically does animations (i think) on …

Member Avatar for grungy coder
0
119
Member Avatar for andanjin

Here is my testing site. <a href="http://holyrock.zxq.net?">testing home</a> I would like to change like <a href="http://holyrock.zxq.net/index1.html">this.</a> Please help me to fix my problem.... I want to open my menu link page in the main context secction. Do I need to use include fuction in php or java? Or So I …

Member Avatar for andanjin
0
194
Member Avatar for BigGar

Hey, I have a strange problem. I added an image as the background image for a form in VB.net. When I run the program, after approx. 5-6 seconds, the image partially overlays itself, as in an offset overlay of the underlying image. I never had this problem in VB6, but …

Member Avatar for BigGar
0
116
Member Avatar for fielding

Howdy, I'm trying to hide a few css elements until a form has been completed. We have a ecommerce site we need to hide the price and 'add to cart' until the user has submitted their e-mail in a text form. Any help would be appreciated!

0
58
Member Avatar for drewpark88

Ok so here's what I'm trying to do: 1. You press submit on my php donation form page, and when you press submit it goes to a process.php but within the IF statement I have it to where it sends my client an HTML email. 2. What I want my …

Member Avatar for saiprem
0
166
Member Avatar for vamsicoolman

how to read the output of the html, Actaully I am writing a small text as output whenever I invoke the html file but when I am using urllib.read() or webbrowser.read() I am able to read the source of the html rather than its output. I am a begineer So …

Member Avatar for vamsicoolman
0
13K
Member Avatar for mahdiahmadirad

[B]How to Change default settings for ACT HTML Editor?[/B] I want to load editor with for example Selected Bold Button or with rtl direction instead of ltr defaultly. How can I perform that? I overrided FillTopToolbar() method to add Custom buttons but I dont Know how to change default settings. …

Member Avatar for ghmcadams
0
95
Member Avatar for xuexue

[code=javascript] function label_parameter(id,ind) { var clicked_row = id; alert(clicked_row); } [/code] is it possible to pass the value of clicked_row to an object in html?? thanks thanks..^^

Member Avatar for phpbeginners
0
150
Member Avatar for JackyRock

Hi Friends, How to create explorer like menu in Html or java script? eg + Game(inside this Cricket and Football) when click on + sign it become like-- - Game -Cricket -Football Can anybody suggest me, by which command I can do it? [url=http://www.bipra.com/cat-684-laptopsdesktoppcs.aspx]Buy Laptop[/url]||[url=http://www.bipra.com/cat-698-externalharddrives.aspx]External Hard Drive[/url]||[url=http://www.bipra.com/cat-801-internalharddrives.aspx]Portable Hard Drive[/url]

Member Avatar for Alison Clarke
0
100
Member Avatar for lonestar23

How would I go about passing a user agent when requesting an external xml feed from a 3rd party web service. Need to pass the user agent or else the feed produces an error. I am using DOM [code] <?php $request1 = 'http://www.abc123.com/webservice/this.xml'; $requestIT1 = $request1; $response1 = new DOMDocument(); …

Member Avatar for lonestar23
0
280
Member Avatar for michelleradu

Hi I need to save the values printed in a html table from the database in a CSV file if requested by user. I've only managed to save the header of the table so far. The MySql query is made in a page called reportclient.php which then calls phpReportGen.php in …

Member Avatar for michelleradu
0
163
Member Avatar for prithvi.web

Hi, I am chasing after a html table which will be made based on a multidimensional array. The structure is [CODE]Array ( [az] => Array ( [0] => Array ( [work] => dsdsds [time] => 2:47---2:55 [total] => 8 ) ) [an] => Array ( [0] => Array ( [work] …

Member Avatar for Jerail
0
2K
Member Avatar for ursrathika

I require to appear the Name which i click on the "new.php" page in the "Window_open.php" page..I use some Java Script also to accomplish this but I couldn't.. [B][U]how to pass textbox value in popup....[/U][/B] Could you pleas Help ...!!! Expand|Select|Wrap|Line Numbers [code] 1. ----------The Code in "Window_open.php" ------------------- 2. …

Member Avatar for Jerail
0
112
Member Avatar for Chad Gary

I'm using the below code to create an html file using fopen and fwrite. In the html source code I trying to add carriage returns using \n, but I'm not having any luck [CODE] $filename = 'textfile.html'; $newstring = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\n' $newstring .= '<html …

Member Avatar for pritaeas
0
64
Member Avatar for Techwriter10

Word came out this past weekend that Steve Jobs held a Town Meeting with his employees after the iPad party. Among the topics were Adobe and the Nexus One, which apparently both have Jobs more than a little riled. [URL="http://www.wired.com/epicenter/2010/01/googles-dont-be-evil-mantra-is-bullshit-adobe-is-lazy-apples-steve-jobs/"]According to a Wired article[/URL], he had this to say about …

Member Avatar for hokuwho
0
720
Member Avatar for UnderPressure

Hey all, I'm rather new to PHP but learning fast over the last several weeks, (so please pardon my ignorance) I've created SQL db, a number of php pages & scripts which interact with it, and have created an html mainpage. The main page is going to act as a …

Member Avatar for UnderPressure
0
118
Member Avatar for zyzopath

My image and border fit well on 3 sides, except for the left border-side and I can't for the life of me figure out what I did wrong. Isn't it supposed to fit automatically when the css code is wrapping the image-tag? The "surrounding" border only shows up in FF …

Member Avatar for ko ko
0
2K
Member Avatar for cwarn23

Hi and I have been searching the web but my answer isn't looking very hopeful. I need javascript or preferably css to make my text vertical so the result is something like the following. [CODE]t e s t i n g[/CODE] However with the result each of the characters need …

0
69
Member Avatar for fielding

I have a drop down select menu that has about 700px worth of text in each option and i need the select box to be 300px wide. So i changed the width in the CSS to fit my layout however in IE the actual portion that drops down stays 300px …

Member Avatar for fielding
0
331
Member Avatar for bharanidharanit

Hello, Is this possible to set gradient and lightening effect in backgrounds colors with css?

Member Avatar for drewpark88
0
60
Member Avatar for Sarama2030

hi i'm using this code [<meta http-equiv="content-type" content="text/html;charset=iso-8859-1"> <link href=" mycss.css" rel="stylesheet" type="text?css">] to link my css files to my web page but it's not working. what could be the problem.

Member Avatar for macneato
0
89

The End.