6,558 Topics

Member Avatar for
Member Avatar for eburlea

Hello everyone, I am trying to retrieve some info from a remote site using PHP DOMDocument and I cannot figure out why the code returns NULL, although the provided ID exists on the page. Please help. $dom = new DOMDocument("1.0", "utf-8"); @$dom->loadHTMLFile('http://sports.yahoo.com/news/messis-tax-hearing-put-back-122033643--sow.html'); $content = $dom->getElementById('yog-content'); var_dump($content);

Member Avatar for pritaeas
0
148
Member Avatar for davy_yg

Hello, I create a website with a 1024 x 728 size. After I create the html amazingly, the horizontal space is more than 1024, larger than the background that I create. There are around 400 px more space to right side of the background which is filled with a blank …

Member Avatar for touqeer s
-1
272
Member Avatar for davy_yg

Hello, I wonder why my navigation input text box size being effected by the agent.css agent.php <html> <link href= "css/style.css" rel="stylesheet" type="text/css" media="screen"> <?php include('includes/navigation.php'); ?> <link href= "css/agent.css" rel="stylesheet" type="text/css" media="screen"> <body> <br><br> <div id="form"> <div id="formtitle"><br><center>FORMULIR PENDAFTARAN AGENT INDONUSA</center></div> <br><br> <div id="formtable"> <table border="0"> <tr> <td class="field">Nama Lengkap</td> …

Member Avatar for davy_yg
-1
202
Member Avatar for woodenduck

How do I use htmlspecialchars to escape all html but then allow two tags? I've escaped my text but want to allow the following two tags: img iframe Is there an easy way to do this? I never had a class on php so everything I know is self taught. …

Member Avatar for diafol
0
161
Member Avatar for nocal

Hi im new to html and fairly new to programing i've been waching youtube vidios on html and they all do the same thing to put up a phot but whenever i try the photo eror shows up by the way i use notepad ++ <!doc type html > <html> …

Member Avatar for asaa
0
158
Member Avatar for lloydsbackyard

please help on my codes ...this works good in firefox but in internet explorer it gets disarrange. also, if im gonna zoom in/out in both browsers it also got disarrange.thanks index.php <?php session_start(); //Unset the variables stored in session unset($_SESSION['SESS_ID']); unset($_SESSION['SESS_LNAME']); unset($_SESSION['SESS_FNAME']); unset($_SESSION['SESS_MNAME']); unset($_SESSION['SESS_SUFFIX']); if (isset($_GET['page'])) { $pg = $_GET['page']; …

Member Avatar for lloydsbackyard
0
292
Member Avatar for davy_yg

agent.php <div id="formtitle"><center>FORMULIR PENDAFTARAN AGENT INDONUSA</center></div> <br><br> <table border="0"> <tr> <td class="field">Nama Lengkap</td> <td><input type="text" name="name" placeholder="harus diisi" value=""></td> </tr> <tr> <td class="field">Tempat & Tanggal Lahir</td> <td><input type="text" name="name" placeholder="harus diisi" value=""></td> </tr> agent.css #form { width: 900px; height: 1600px; background-color: white; display: block; border: 1px; margin: auto;} #formtitle { …

Member Avatar for LastMitch
-2
229
Member Avatar for ncis_sg1

Ok I am having trouble with this homework assignment. I need to modify the code to sort by the number of pages rather than by chapte number. I get this part but the code I need to modify will not display correctly in my internet browser. All I see is …

Member Avatar for LastMitch
0
410
Member Avatar for Ranjith_2

I'll come to the point, every link is working except one link. My index page --> http:// pastebin.com/wGAhtT9k My Css Page --> http:// pastebin.com/Kg1WGvGJ My js page --> http:// pastebin.com/rv4mdcJ8 This is my website --> www.leranjith.com In my website, i have two "certificates" link, the one inside the circle is …

Member Avatar for almostbob
-1
238
Member Avatar for pardeepkhatri
Member Avatar for paulkd
0
103
Member Avatar for Anila_1

Hi. 'm new to php..please help.. 'm working with dropdown and submit button.. the dropdown contains certain values..if the user selectes one option in dropdown and clicks submit button, values corresponding to the dropdown should be displayed in table format from the database. the file name is campus.php 'm attaching …

Member Avatar for diafol
0
333
Member Avatar for davy_yg

Hello, Anybody knows how to create a changing background website like this: [background](http://id.gateway.com/gw/en/ID/content/home) I have the website and 3 different background. Now, I would like to make those background changes one after another.

Member Avatar for davy_yg
0
271
Member Avatar for imti321

The below mentioned code uses css3 to develop drop down menu .I am unable to solove a problem which crops up while i click sub2 h4 menu it disappeare below body text can anybody help .Thanks in advance. <style> body,,container,h1,navmenu,ul,sub1,sub2,darrow,rarrow,header,leftnav,rightnav,footer { margin:0px; padding:0px; } #container { position:absolute; background-color:#FFF; left: 136px; …

Member Avatar for imti321
0
229
Member Avatar for aswekown

Hi, I am new to html and I am reading the html and the css code of the website: http://www.quarryequipments.com/ I notice that if I make the browser size small, the li element in the navigation will not float left, how do I make it out? thanks.

Member Avatar for aswekown
0
125
Member Avatar for suavedesign

I am trying to align some text vertically with an image next to it, as in: [http://204.10.65.195/get_involved.php](http://204.10.65.195/get_involved.php) On the bottom half of the page, you can see that I have a bunch of images, each one with some text next to it. I want the text to appear in the …

Member Avatar for flashhtml5
0
311
Member Avatar for tihomir.dochev

Hi all. I need help with one HTML form. I taked a web sie template and formed it to suit my need but at the end the form build in it was not working. I have add php file and action to use the php file from what i have …

Member Avatar for pritaeas
0
176
Member Avatar for Julia25

I'm almost done experimenting on how make the slideshow background clickable http://www.gracetous.org/test/ but I was hoping the mega menu dropdown will show up without adjusting the height since its responsive, is there any hope to this?

Member Avatar for Julia25
0
174
Member Avatar for james.lu.75491856

def GenContent(address,what): return urllib.urlopen("http://www.yelp.com/search?find_desc="+what+"&#find_loc="+address).read() I am using python to do this. It works prefectly in my browser.

Member Avatar for chriswelborn
0
312
Member Avatar for pratik65

im trying to put an image in the background of my form so that it cptures full screen n i donno how to dp that. my code is follows: Me.BackgroundImage = System.Drawing.Image.FromFile("school.jpg")

Member Avatar for abhi159
0
24K
Member Avatar for azegurb

Hi all, I have taken from net drop down menu (Drop down chrome menu). it is written in Object oriented background. but i would like to get it simple and concise. i wrote it in a prosedural background again. below is original script. 1-is HTML <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML …

Member Avatar for LastMitch
0
300
Member Avatar for Rachael_1

Hi, I would like to have my pop-up(upon clicking create order) to be visible even after an error msg appears. How can I do it? <?php $selection = ''; $type = ''; $size = ''; $bidprice = ''; $offerprice = ''; $stoploss = NULL; $takeprofit = ''; //////////////////////////////// $Error = …

Member Avatar for LastMitch
0
269
Member Avatar for secretply

I have the following code executed on window load: var focuscheck = setInterval(focuswindow, 1000); $(anotherwindow).focus(function() { focuscheck = setInterval(focuswindow, 1000); }); $(anotherwindow).blur(function() { clearInterval(focuscheck); $("iframe:first", anotherwindow.document).on("mouseover", function(event) { focuscheck = setInterval(focuswindow, 1000); }); }); anotherwindow and focuswindow are fine so I won't post code for that. So this is how …

Member Avatar for LastMitch
0
672
Member Avatar for Peter M.

I have a INDEX.html and some <DIV>'s that are populated with external HTML-files using jQuery LOAD() Some of the external HTML's also contains Javascripts. Seperately these external HTML's all perform well, when displayed in the DIV the script won't run. There should be a solution to this but I cannot …

Member Avatar for stbuchok
0
227
Member Avatar for LiBOC

Dear all, :confused: If I have a javascript variable with a value in it. How do I RETRIEVE the value of it and insert it into my <TD> cell? I am using a table to input values to <CANVAS> tag to draw a graph based on the values in <TD> …

Member Avatar for hhhff
0
3K
Member Avatar for arctushar

Hi I want to make a dictionry using html5. For example I have words 1. good 2. bad 3. hot 4. cold Now I want that in index page this words will be shown as 3 column. If I click on any word, the meaning of the word should display. …

Member Avatar for JorgeM
0
182
Member Avatar for PF2G

Hi, how can i know (with an alert) the value i selected, from the #layout_select: <script> $(document).ready(function() { var optarray = $("#layout_select").children('option').map(function() { return { "value": this.value, "option": "<option value='" + this.value + "'>" + this.text + "</option>" } }) $("#column_select").change(function() { $("#layout_select").children('option').remove(); var addoptarr = []; for (i = …

Member Avatar for PF2G
0
407
Member Avatar for Monica_1

Im working with dreamweaver, coded in php On one of my pages, i'm trying to add 2 different print buttons each one printing a differrent portion of the webpage. For example, one print button is printing the first paragraph and the other print button is printting the second paragraph. I …

Member Avatar for pritaeas
0
262
Member Avatar for suavedesign

I have a page on my website that has three columns of images. I want to use responsive web design to resize it, so that when the screen gets smaller, it becomes two columns, and when it gets even smaller, the design should become 1 column. I want to use …

Member Avatar for pritaeas
0
134
Member Avatar for intes2010

My code works it does extract links, but these links are not what i expected to be extracted. My program would extract links inside the <a href tag which contains a specific word which i can set manually. Here is my complete code: Private Sub Button1_Click(sender As Object, e As …

Member Avatar for Begginnerdev
0
495
Member Avatar for techyworld

hi am having problem to deploy my java web application. I'm using myEclipse for spring 10 and tomcat 7. am having these errors: org.apache.catalina.core.StandardContext startInternal SEVERE: Error listenerStart org.apache.catalina.core.StandardContext startInternal SEVERE: Context [/projectname] startup failed due to previous errors Anyone know how to solve this issue?

Member Avatar for cool_zephyr
0
293

The End.