17,029 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Mirth

Hello everyone. I'm still new to PHP. What I would like to do is to place the value of the $truck inside the column Truck. I don't have any error messages whenever I run this page, so I don't really know what's wrong, and no values are placed inside the …

Web Development php
Member Avatar for Excizted
0
149
Member Avatar for pankaj87us@gmai

the error i am getting in the html file Message: Syntax error Line: 1 Char: 1 Code: 0 URI: [url]http://localhost/testhtml/test.php[/url] The test.php code is <?php Header("content-type: application/x-javascript"); echo “document.write(‘Hello World I am php code called from HTML file:’);”; CLOSE WINDOW; ?> The test.html code is “<script language="JavaScript" type="text/javascript" src="http://localhost/testhtml/test.php"></script>” HELLO …

Web Development javascript php
Member Avatar for pankaj87us@gmai
0
1K
Member Avatar for simi pillai

Server Error in '/PrecompiledWeb2' Application. ________________________________________ Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: Unrecognized configuration section 'connectionStrings' Source Error: Line 10: <configuration> Line …

Member Avatar for Lusiphur
0
305
Member Avatar for niche1

the html version of this php script works. What's wrong with this php script? It produces:Parse error: parse error, expecting '','' or '';'' in C:\wamp\www\temp8.php on line 5 [code] <html> <body> <?php echo '<input onMouseOver="this.style.color='red'" onMouseOut="this.style.color='blue'" style="position:absolute;left:111px;top:290px;border:none; color:blue;border:none;background:transparent;font:bold;font-size:150%;cursor:pointer;" type="Submit" value="Print Selections" />'; ?> </body> </html> [/code]

Web Development html-css php
Member Avatar for niche1
0
127
Member Avatar for ashcares

Hi there, I was hoping someone might help me edit this [URL="http://www.pcmechanix.ca/mobile_redirect.htm"]mobile redirect code[/URL] so that it includes IPhones with the redirecting process. Any suggestions? FYI - Besides this minor exception, it is quite an effective code for redirecting mobile phones. You can try it for yourself, simply enter the …

Web Development php
Member Avatar for mrlynn
0
163
Member Avatar for phplover

Hi, I'm new here so first i would like to say hello to everyone :) I have been learning PHP for the past year on and off and have built a fully pledged website. Since my website first launched it has progressed into a full membership system which i love …

Web Development php
Member Avatar for phplover
0
173
Member Avatar for Jothe

Hi guyz i am getting an error on my header information..the warnig is displayed when this part of code Runs echo '<a href="' . 'ecomm_catalogue_view.php?product_code=' . $product_code .'" >'; '</a>'; header("location: ecomm_catalogue_view.php?' . 'product_code=' . $product_code . '"); the warning displayed on top of each page is: Warning: Cannot modify …

Web Development php
Member Avatar for metalix
0
96
Member Avatar for surfgrommett

Hey guys. This is driving me crazy. I can't see any code problems and I had another friend look and neither can he. EVERYTHING works PERFECTLY...all echos work right and everything and no errors get returned..the problem is $query4 and $query5 appear to do nothing..though i get no error..i get …

Web Development php
Member Avatar for metalix
0
313
Member Avatar for mitch9654

How could I [CODE]print();[/CODE] the '<' and '>' signs? You can't escape character them ('') Say, for example, I wanted to Print(); "The <font> tag is awesome" It would print out: "The tag is awesome" Thanks, Mitch

Web Development php
Member Avatar for mitch9654
0
102
Member Avatar for QWaz

Hi, I am using some code that I use pretty much most of the time for every insert. However now I am getting this error and have no idea why this is happening. SQLSTATE[42S22]: Column not found: 1054 Unknown column 'NULL' in 'field list' My code is below. [CODE] $id …

Web Development php
Member Avatar for sourcebits
0
515
Member Avatar for benhowdle89

Hi, I'm developing a php script that reads data from a mysql db and then puts the data into csv format to then be sent upto Pachube.com for a web app i'm developing. This is a simple problem i'm sure but i cant seem to solve it! Code below: [CODE] …

Web Development api php
Member Avatar for benhowdle89
0
167
Member Avatar for reza.adinata

Hi all, I am trying to work an an array , by storing them in a txt file so I can process it. I tried several ways for storing the key and value in a text file, but it does not work [CODE] $diff = array_diff($array1, $array2); $myFile = "1.txt"; …

Web Development php
Member Avatar for rajarajan2017
0
77
Member Avatar for nyra98

Ok, I am working on a website which will accept uploads and in an iFrame next to the upload form display a list of files in the upload folder. The iFrame will be showing a php script that is listing the files. Here is where the problem is, I can …

Web Development php seo
Member Avatar for nyra98
0
212
Member Avatar for nezammca

hi., there is a parent page and child page . when i click parent page button it should go to child page and take values from there and return to preivous page its not working :( parent page: public class Default : Page { protected TextBox txtFirstName; protected TextBox txtLastName; …

Web Development asp asp.net
Member Avatar for Lusiphur
0
154
Member Avatar for debow

Hello all, I'll try to explain what I'm wanting to do the best way I can. I have an event_results table that contains multiple athlete id's and for each athlete they are tied to an event in the same table. The screen shots should help explain. I also created a …

Web Development php seo
Member Avatar for debow
0
1K
Member Avatar for hims4u

hello mods!! i am a newbie in jsp and just wanted to ask a basic question! i have a small jsp code for displaying the date and time. i have tomcat6 and apache web server installed on my linux machine(using fedora 12). can somebody plzz tell me how to run …

Web Development apache java-jsp web-server
Member Avatar for ~s.o.s~
0
242
Member Avatar for phphit

Ok. I have ZERO PHP Knowledge, still good in editing php and all that stuff. Only know copy paste and have no knowledge what that means. Still would try to explain my problem. I use variable to fetch data from mysql. Ex. my url is [url]http://www.example.com/venue.php?vcity=New[/url] York. Now, I want …

Web Development php regex
Member Avatar for phphit
0
325
Member Avatar for MDanz

i pass this to a div innerhtml from javascript. when i do it like this it doesn't work. it should display an image hyperlink [code]var newtext4=("<a href=" + number + "><img src=" + newtext2 + " /></a>");[/code] if i do just text, it displays a hyperlink. [code]var newtext4=("<a href=" + …

Web Development javascript
Member Avatar for fxm
0
134
Member Avatar for andrewb

Hi Iam very begginer I want to use the script named lavaLamp from here [url]http://www.gmarwaha.com/blog/2007/08/23/lavalamp-for-jquery-lovers/?cp=all[/url] ) but I donn't know how I can use it I try to change the <li class="current">[B]<a href="#">Home[/B]</a></li> tag to the <li class="current">[B]<a href="http://google.com">Home</[/B]a></li> but it doesnt work please help me [CODE] <h3>With Image</h3> <ul …

Web Development javascript javascript-jquery
Member Avatar for andrewb
0
87
Member Avatar for miweiser

Can someone please advise what I may be missing? How can I not only make it better, but this does not seem to be working, although 1 domain instance has worked for some time, I tried adding to it: [CODE] if(document.form1.email.value.length > 0) { var theEmail = document.form1.email; var at …

Web Development javascript
Member Avatar for fxm
0
283
Member Avatar for QWaz

Hi, I am trying to get money to display correctly with the decimal points in the right place. I have read the PHP manual, but just don't get it. I want to do 2 things: 1: if someone types in 123.23 -> I want to remove the '.' (so it …

Web Development display php
Member Avatar for sacarias40
0
117
Member Avatar for Koibu0

Forgive my ignorance with such matters, but I have what is probably a simple issue that I can't seem to resolve on my own. I'm getting this error when sending a request to the SOAP server [CODE]org.xml.sax.SAXParseException: Content is not allowed in trailing section.[/CODE] I've checked the end of all …

Web Development api mysql php xml
0
121
Member Avatar for surfgrommett

Hi guys. First I have spent awhiel trying to find an answer for this online and haven't been able to. I have defined a variable ($new) in the beginning of my page. to test that is IS defined right i echo'd it...im using nested if statements to check thing. in …

Web Development php
Member Avatar for surfgrommett
0
109
Member Avatar for honos1

I have started getting an out of memory error that wasnt occurring before I changed hosts. I altered my php ini settings to add but the godaddy people pointed to this code and suggest I rewrite it. The problem I am having is I took this code from someone else …

Web Development php
Member Avatar for honos1
0
144
Member Avatar for QWaz

Hey, I am having real trouble with this code, and for the life of me just can't see or figure out why this won't work. It works every other time I have done it. I have checked, double checked, tripple checked the table it's coming from. I'm as lost as …

Web Development php
Member Avatar for QWaz
0
180
Member Avatar for Felipo

Hello Everybody - I have a question that I need answered - Is there a way to implement either a vertical drop down menu or a horizontal drop down menu on a "hot spot" on an image map where as when the mouse rolls over the "hot spot" the "hot …

Web Development image javascript
Member Avatar for Felipo
0
380
Member Avatar for Venom Rush

Hi there I have a page that has php code at the top. Ajax before the body tag and a form. I need to be able to call a php function (the one at the top of my page) that adds info from the form into the DB. Normally I'd …

Web Development javascript php
Member Avatar for fxm
0
147
Member Avatar for Weppies

Hi I need to know how to keep data in a gridview after postback. I am using sqlDataAdapter with DataSet to fill the gridview. But if you want to go to the second page of the gridview list it loses the data. Would it be best to create a Session …

Web Development asp.net dataset session
Member Avatar for Weppies
0
366
Member Avatar for jellybeannn

I got this code off a site, with a really nice layout and style, I've never worked with input field, so I'm stuck how can I save this to a database. I tried changing everything to a <asp:Label> and <asp:TextBox> but then I do not get the same layout. [code] …

Web Development asp.net
Member Avatar for jellybeannn
-1
2K
Member Avatar for mr_scooby

I have this php based website, that displays a photo and draws data from a db to display on the page. Currently has a link to a live camera(viewed by internet browser) that opens in a separate page. I have heard/read that using jquery you can create a iframe within …

Member Avatar for mr_scooby
0
79
Member Avatar for aurora1234

I am following the code in a previous thread and cannot access SQL database. See attached login.aspx and login.aspx.vb files. Database file is a simple "Users" filw with AutoID, username, email and password. What am I doing wrong? Any help is greatly appreciated.

Web Development asp asp.net
Member Avatar for aurora1234
0
136
Member Avatar for Bob Arctor

Hi all, Been some time since my last post. I'll get straight to it - I have actual Id's being passed from the checkbox array to a page where I dump the post variables. I'm using this to query the db. [CODE]$result = mysql_query("SELECT * FROM test WHERE Id='$checkbox[0]';"); while($row …

Web Development php
Member Avatar for Bob Arctor
0
110
Member Avatar for cwigginton

Hello, I'm trying to stream an HTML file into a Literal control, and have found that the first time it loads, it works just fine. Any framesets defined resolve just fine, and the page works as it should. When I exit the page, then go into it right afterwards, the …

Web Development asp.net file-stream html-css
Member Avatar for mehtainfosys01
0
80
Member Avatar for johndoe444

problem with this code: [CODE]parseIcmPage url, '<ul id="topListFilter"', '<div id="footer">' def parseIcmPage(url, start_point, end_point) data = getHtmlPage url s = data.index(start_point) e = data.index(end_point, s) len = e-s list_str = data.index[s, len] puts list_str, '\n' end[/CODE] [CODE]icm.rb:42: warning: don't put space before argument parentheses ./util.rb:121:in `index': wrong number of arguments …

Web Development ruby
Member Avatar for craiggles
0
232
Member Avatar for an00p

Hello friends, I have a php page that displays data from a mysql DB. Fields are 1. Username 2. Designation etc... I want to list usernames in a listbox. I know thats not a tough job but I want to give different colors (or background color) to usernames with different …

Web Development php
Member Avatar for an00p
0
181
Member Avatar for phaedrusGhost

Hi all, I have a loop that I want to show all users and info from a DB. After each user is displayed I need a divider line placed between them. The divider line is simply "div class="divider"></div>" with a 2X2 pixel, repeat X background image. I have tried inserting …

Web Development php
Member Avatar for phaedrusGhost
0
142
Member Avatar for faizabest

Im new in web developer and using WAMP server to develop my system. I have run my system succ on winxp, but not in Win7. Can u guys help me to solve this matter? My Apache doesn't work.. I have try to start n restart but still same.... Cannot open …

Web Development apache php web-server
Member Avatar for faizabest
0
119
Member Avatar for hirenpatel53

hello all i have one master page containing menu strip and one content page of same master page what i want while i click on the menu strip the value clicked is shown to to text box on form for that i am using following code master page's code [CODE] …

Web Development asp.net session
Member Avatar for hirenpatel53
0
127
Member Avatar for codewalkz

I currently have this function [CODE] processfn('sponsor = 1', 1, '', 0, 'buyer = 0'); function processfn($sponsor, $level, $sad, $sadista, $bumili) { $result = mysql_query("SELECT id FROM ahentes WHERE $sponsor") or die(mysql_error()); if (mysql_num_rows($result) > 0) { $sad = mysql_num_rows($result); while ($row = mysql_fetch_array($result)){ $sila[] = "buyer = '".$row['id']."' "; …

Web Development php
Member Avatar for codewalkz
0
82
Member Avatar for ptemedia

Hi, first of all sorry if this has come up before, but I couldn't find it anywhere. I have a working php form which submits data on submit. I need to verify the input fields to ensure they are not empty. I know i need a javascript function to run …

Web Development javascript php
Member Avatar for ptemedia
0
244
Member Avatar for Viruthagiri

Hello friends, I have a table which contains file names. For example i have stored a file "java.pdf" in a directory called "course". The file is located here. [url]http://www.something.com/course/java.pdf[/url] Now i stored the file name in a column named "document_filename". I stored it as "java.pdf" Now if a user click …

Web Development java-jsp pdf
Member Avatar for Viruthagiri
0
111
Member Avatar for benhowdle89

Hi, What i have is a variable that is getting updated periodically and i've set the php script to refresh itself every 30 seconds to run a mysql query updating a db, this is good but if this value isnt changing from the source i get duplicate records in the …

Web Development php
Member Avatar for rajarajan2017
0
4K
Member Avatar for QWaz

Hi, I am getting this error: Warning: implode() [function.implode]: Invalid arguments passed in ... on line 28 I am not sure if what I am doing is possible or if I have shanked the code somehow.. if(!isset($_GET['b'])) { ///// DISPLAY THE NORMAL PROMOTIONAL HOME PAGE } elseif($_GET['b'] == 't') { …

Web Development php
Member Avatar for rajarajan2017
0
2K
Member Avatar for Ankit_Parmar

I am using ldap_connect function in phpmaker tool,but it is giving error like Fatal error: Call to [B]undefined function[/B] ldap_connect() in C:\xampp\htdocs\register\1v6\phpfn7.php on line 4127

Web Development php
Member Avatar for Ankit_Parmar
0
100
Member Avatar for shadiadiph

Trying to get my one of my divs when clicked to call a function but it doesn't seem to be working??? I just noticed that only one solid pixel in the div border which i will eventually set to 0px calls the function but I want it so the whole …

Web Development javascript
Member Avatar for shadiadiph
0
94
Member Avatar for Lusiphur

I've been building a custom [URL="http://bariby-quance.com/blogged.aspx"]journal application[/URL] for my website which has a reply sub-app where visitors can post responses to my frequent posts. In the response sub-app I want to be able to incorporate formatting buttons (bold, link, colour, etc) that will take selected text within the textbox and …

Web Development asp asp.net c#
Member Avatar for Lusiphur
0
595
Member Avatar for Sucesso

I've got what I think must be a pretty simple question, but it's my first time doing something like this. Here's my situation. I have a simple database. It's a dictionary of words. I want to have a form that I can enter a word into. Once I do that, …

Web Development mysql php
Member Avatar for effu
0
125
Member Avatar for bsewell

HI guys, just wondering how to get a customised page, depending on an id. Eg mysite.org/view?id=1, mysite.org/view?id=2 etc. How does that work? Is it possible to provide the whole url including the id so I can put a direct link to the page I want someone to view? Cheers,

Web Development php
Member Avatar for Graphix
0
87
Member Avatar for nikhilgotan

Hi there, i want to redirect from the SERVLET page to an HTML page after 5 seconds. Please help..!!

Web Development http-protocol java-jsp
Member Avatar for nikhilgotan
0
244
Member Avatar for ptemedia

I am successfully reading and displaying a .txt file with 3 variables, lets say for example name, age and comments. When the file is written, 1 name, 1 age and 1 comment gets written on a line. Any further additions get added as a new line. When this gets read …

Web Development php
Member Avatar for Excizted
0
236

The End.