6,574 Topics
![]() | |
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] | |
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 … | |
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] | |
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 … | |
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 … | |
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 … | |
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: … | |
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 … | |
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> … | |
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 … | |
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 … | |
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 … | |
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! | |
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 … | |
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 … | |
[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. … | |
[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..^^ | |
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] | |
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(); … | |
![]() | 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 … ![]() |
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] … | |
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. … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
Hello, Is this possible to set gradient and lightening effect in backgrounds colors with css? | |
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. |
The End.