Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
60% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
3
Posts with Downvotes
1
Downvoting Members
3
1 Commented Post
0 Endorsements
Ranked #1K
~10.9K People Reached
Favorite Forums
Favorite Tags
Member Avatar for cmgdev

Please help. I can not figure out how to add a simple link to an image when the image is called through PHP. I have tried making it work a number of ways but I am only intermediate in HTML and still trying to learn PHP basics. The code is: …

Member Avatar for JorgeM
0
832
Member Avatar for fsn812

Who here would prefer Java over PHP, or PHP over JAVA? If you prefer one over the other, for whatever reason or application, why? Specific code comparisons are appreciated

Member Avatar for mama_rock
0
525
Member Avatar for gunnarflax

I 'm trying to create my own Javascript library which I want to be able to access in the same way as you do with Jquery (by writing Jquery.something or $.something). But I can't figure out how that is done. The object Jquery must in someway be created and have …

Member Avatar for gunnarflax
0
166
Member Avatar for sai.sriparasa

Hello I need to pass an array of client side events to the next page. Here my user would perform a few events which would be stored in a javascript array, upon completion a submit button would be used to post all that data to the next page. An example …

Member Avatar for jino
0
174
Member Avatar for incirus

How can I add loading image into this script? [CODE] var xmlhttp; function showUser(str) { xmlhttp=GetXmlHttpObject(); if (xmlhttp==null) { alert ("Browser does not support HTTP Request"); return; } var url="cars.php"; url=url+"?q="+str; url=url+"&sid="+Math.random(); xmlhttp.onreadystatechange=stateChanged; xmlhttp.open("GET",url,true); xmlhttp.send(null); } function stateChanged() { if (xmlhttp.readyState==4) { xmlDoc=xmlhttp.responseXML; document.getElementById("name").innerHTML= xmlDoc.getElementsByTagName("name")[0].childNodes[0].nodeValue; document.getElementById("description").innerHTML= xmlDoc.getElementsByTagName("description")[0].childNodes[0].nodeValue; } } function …

Member Avatar for incirus
0
131
Member Avatar for Kitten84

When I view my webpage In Firefox if looks great but in Internet Explorer some images look a little blurry. If I zoom out to 90% it looks ok. My question is: Is there some JavaScript code that sets the user's browser to zoom at 90% if using internet explorer? …

Member Avatar for wrivera
0
70
Member Avatar for muralibobby2015

hello... anybody give suggestion.. i am doing one task what it zzz means my site is in english. i have dropdown list having multiple languages. if anybody changes language option site all pages change to that language. any body knows how to do it?

Member Avatar for muralibobby2015
0
2K
Member Avatar for bigmanjames

OK basically im confused ive got an assignment due in tomorrow night and at the moment even an example code wont work for me, basically i was reading a book and ended up with the following code but it doesn't work and i have no idea to convert this from, …

Member Avatar for feoperro
0
111
Member Avatar for genieuk

Hi, I wanted to ask professional members who has built websites in the past wheter you include all your include files in the <head></head> section of your site. I split my design in two header-inc.php and footer-inc.php, obviously the <head></head> section will be in header-inc.php. Reason is most of my …

Member Avatar for almostbob
0
157
Member Avatar for 68thorby68

I am try to put the finishing touches to a mail function, and would like to show an alert to tell the user the form has been submitted correctly. I would then like to redirect them to another page in the site. The alert works OK on its own, but …

Member Avatar for 68thorby68
0
157
Member Avatar for ppetree

Hi All! I found a simple star-rating system based on mootools, dhtml and css. It seems to work fine with one exception that I just can't seem to figure out. You set it up as in the following:[code] <td class='td_stars'> <ul id="price" class="rating onestar"> <li id="1" class="rate one"><a href="#" title="1 …

Member Avatar for ppetree
0
138
Member Avatar for shiv0013

how to create login page using ajax? i know whether to show valid or invalid in the same page.......... but how to redirect to same different page wen its and valid?

Member Avatar for shiv0013
0
136
Member Avatar for stangn99

Hey guys...I've run into a little issue (noob here). I’ve setup a little application for scheduling days + times in different rooms. I’m trying to implement some sort of an error check which determines is someone has already been scheduled for a certain day, time(range), and certain room. For example: …

Member Avatar for stangn99
0
133
Member Avatar for ronaldpaul

[CODE]<select name="splace" onchange="eval(this.value)"> <option value="javascript:show_loc('1');">Chennai</option> <option value="javascript:show_loc('2');">Coimbatore</option> </select>[/CODE] In the above code, in the option the value property is given as a javascript. Since in IE the onclick function doesn't work I've placed onchange in the select and then given the javascript in the option value. Now to save the …

Member Avatar for wrivera
0
167
Member Avatar for Venom Rush

Hi all I found cURL and want to use it to upload a file after a form has been submitted. I found the following code on [URL="http://php.net/curl"]http://php.net/curl[/URL] [CODE=php] <?php /* http://localhost/upload.php: print_r($_POST); print_r($_FILES); */ $ch = curl_init(); $data = array('name' => 'Foo', 'file' => '@/home/user/test.png'); curl_setopt($ch, CURLOPT_URL, 'http://localhost/upload.php'); curl_setopt($ch, CURLOPT_POST, …

Member Avatar for wrivera
0
128
Member Avatar for still_learning

I know this sounds so stupid, but it's a project that I am working on. I need to develop an application where people can upload a picture of themself and then it will add a wig to their picture over their hair. I just don't know how the code scans …

Member Avatar for still_learning
0
81
Member Avatar for usm

Hello, I want record the visitors ip address and how many time they access my website but the problem that if the visitor behind firewall, so all I'll get a hundreds of visits from the same IP address so I thought about using cookie , first I'll search for my …

Member Avatar for wrivera
0
85
Member Avatar for vizz

I want to use 3 DIV tags: 1) As Left Panel 2)Center Panel 3)On different page with contents How to use 1 DIV to open 3 DIV in 2 DIV? Is it possible?

Member Avatar for Kruptein
0
73
Member Avatar for barryw33

Hi I am a Ajax noobie and need a little help with a simple ajax mysql problem I have a php page witha ajax function that calls a php page and in the php page I run a mysql select I then pass the result back to the page that …

Member Avatar for wrivera
0
111
Member Avatar for cali_dotcom

Hi i am not so good with javascript so i really dont know the best way do do what i want to do. want to make a form that allows people to add and delete rows with javascript but it just doesn't work the way i would like. javascript is …

Member Avatar for wrivera
0
149
Member Avatar for barryw33

Hi, I am trying to create a private chat from hacking some opensource chat room. All going well to a point. I am trying to use some basic AJAX (noobie) to insert a field into a mysql db. It is doing what I want it to do mysql wise but …

Member Avatar for barryw33
0
164
Member Avatar for omnis
Member Avatar for Boronia

Hi If anyone could help with below code as I am new to php [code]<?php $result = mysql_query("SELECT * FROM hotels ORDER BY city"); while($row = mysql_fetch_array($result)) { echo $row['city'] . " " ; echo "<br />"; } ?>[/code] above code list all cities as below newyork newyork newyork newyork …

Member Avatar for wrivera
0
55
Member Avatar for mitalichauhan

Hey guys! I am a beginner of php. so i don't know that which will be the best as a loop? While ? or For ? Can anyone help me please.... I want to do this...! Just count 1 to 10 and then add it... i mean 1+2+3+4+5+6+7+8+9+10 nothing much.... …

Member Avatar for JRM
0
105
Member Avatar for SgtMash

Back again! I now need to check if a variable holds one of multiple values...I.E: [CODE=PHP]if ($cvalue == "Germany" OR "England" OR "latvia" OR "Africa") { echo "Do something" ; }[/CODE] In VB I'd just have used something like: [CODE]in("Germany" OR "England" OR "latvia" OR "Africa")[/CODE] Any help appreciated...digging through …

Member Avatar for kireol
0
119
Member Avatar for mundetas

I have been trying to post a value from a radiobutton selection into my database. My datatype in mysql is int. I want value to be 1 or 0. But I believe it takes the value from the radio input type as a string. I need help in posting a …

Member Avatar for wrivera
0
76
Member Avatar for Hitman Mania

So I'm trying to make a program that counts how many vowels are there in the user's first name. I tried to make the code but its not 100% functional, can someone take a look and tell me where I went wrong? [CODE]<html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> …

Member Avatar for Hitman Mania
0
1K
Member Avatar for Bolade

All I want to do is to design a form to collect info from users and have a php process it but I kept getting this error shouting undefine variable. Please some 1 check my code and tell me what is beyond my glimps [B]The form[/B] [CODE]<form action="process.php" method="post"> Your …

Member Avatar for almostbob
0
95
Member Avatar for LloydFarrell

Hi all, i have a DOB input that I am trying to output to a textfield called "StarSign" The DOB works great, uploads to the database fine, What I would like to do is from the given DOB - Output the StarSign to a textfield called starsign. i have dob_y …

Member Avatar for wrivera
0
374
Member Avatar for Begjinner

Hello, I have this in my CSS: [code] #contentbox a{ font-weight: bold; color: #c8a468; cursor: pointer; }[/code] And want to change the color with Javascript's function: document.getElementById, but when I use document.getElementById('contentbox a').style.color= "#d05048", I get an error that it doesn't know 'contentbox a'. I tried multiple things and searched …

Member Avatar for wrivera
0
174