17,029 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for xuexue

hi guys, just wanna ask, is it possible to have a function using tables in html wherein if a user selects a row, the program will get the value of the entire selected row? and this value will be passed to php without reloading the page itself..thanks thanks in advance,^_^

Web Development php
Member Avatar for saiprem
0
100
Member Avatar for Venom Rush

Hi all I have a form where a user can upload a file. I do a check to see if it's a zip file. If it isn't then its supposed to stop the file from being uploaded. Only thing is, the file still uploads regardless of getting the error or …

Web Development file-system javascript
Member Avatar for Venom Rush
0
96
Member Avatar for phpDave

Hi, I'm trying to display certain links if user is logged in, else display other links. Everything works great except for log out link. I have a php script inside a php script and its not working. I was wondering if anyone has a solution. Here is the else part …

Web Development php
Member Avatar for phpbeginners
0
121
Member Avatar for tryphy

Hi friends, I have a form to create a company details.. which will insert the details into a table. For this table, I need to have a auto increment field as character.. when we have autoincreament as Integer... whenever the new company is created..the number will increase from 0, 1, …

Web Development php
Member Avatar for phpbeginners
0
117
Member Avatar for cane23

i want to store the result of an mysql_fetch_array function in an array for future use. here is my code [LIST=1] [*]$sql= "SELECT parameters FROM rules WHERE type='prerequisite' "; [*] //$result=mysql_query($sql); [*] if ($result=mysql_query($sql)) [*] echo '<p>nice</p>'; [*] else [*] echo 'good shit'; [*] [*]//$row = mysql_fetch_row($result) [*]// [*]while ( …

Web Development php
Member Avatar for cane23
0
8K
Member Avatar for Heinz Stapff

[B]NEED INPUT VALUES TO MATCH ARGS ARRAY OR THROW AN ALERT[/B] This is what I have but I want the alert to refrence the var args= or throw the alert. [code] function qtymultiply(qty){ var fs=qty.parentNode.parentNode; var subtotal=document.getElementById('subtotal'); var args=[1,2,4,6,8,10,20]; [COLOR=darkorange]//array I need to match foreach element[/COLOR] var multiply=0.0; var price=fs.cells[4].innerHTML; …

Web Development javascript
Member Avatar for Heinz Stapff
0
113
Member Avatar for MARKAND911

How to get timer_tick event in Asp.net. i am making one web server control. i want to add timer control in its property. please give some examples of property which uses timer control in it.

Web Development asp asp.net c# web-server
Member Avatar for kdcorp87
0
490
Member Avatar for phpuser

Hi,I want to upload image file using Ajax.means i want after browse file it will be put in my folder and i can see path just below browse button.and i want only ajax code for this no php or any other code which refresh file for image upload. anyone can …

Web Development image php
Member Avatar for phpuser
0
98
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..^^

Web Development html-css javascript php
Member Avatar for phpbeginners
0
150
Member Avatar for veledrom

Hi, I have a captcha example and works fine. However, only image is dispayed on the screen. HTML form is not visible. I believe this related to the "header" bit in the class file. I added the code. Please help me solving this problem. Thanks [B]index.php[/B] [CODE]<?php require_once "CaptchaSecurityImages.php"; $width …

Web Development file-stream image php web-browser
Member Avatar for veledrom
0
154
Member Avatar for xuexue

hi! i just want to know, is it possible to pass the value of a variable coming from javascript to php?? knowing that the variable is inside a function?? [code=javascript] function (id,ind) { var clicked_row = id; } [/code] i want to pass the value of clicked_row to php.. thanks …

Web Development javascript php
Member Avatar for xuexue
0
281
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(); …

Web Development html-css php xml
Member Avatar for lonestar23
0
281
Member Avatar for drewpark88

Hey Guys I have a problem with my mailing script. I have a new script to process transactions and it is working fine. What I need to do is send an email after someone submits a form ONLY if it is approved. So I have my php donation form, a …

Web Development php
Member Avatar for drewpark88
0
162
Member Avatar for drewpark88

Hey Guys, did not post the code but here it is now. Oh and basically what is happening is I am now getting and error. The $message variable is what's causing problems. Everything works if I take out the $message. How do I get this to work? Here is the …

Web Development php
Member Avatar for drewpark88
0
158
Member Avatar for xuexue

hi guys, i want to have a data grid in php in which it will function like the same control/object in vb6. now is there any control/object similar to that of in vb6??? thanks ^_^

Web Development php
Member Avatar for xuexue
0
79
Member Avatar for cloud09

I am working on a picture gallery management system for a website. I have the dynamic gallery done, and I am nearly done with the part that edits the gallery. However I have run into problem that no matter what I try doesn't want to go away. When the user …

Web Development php
Member Avatar for cloud09
0
90
Member Avatar for xuexue

Hi guys, i just want to ask what is the congruent function in php which acts like CDec() in Visual Basic 6.0? Is it the round() or round off?? same with the data types Single and Currency in VB6.0.. Visual Basic 6.0 PHP 5\ Single (data type) __________________ Currency (data …

Web Development php visual-basic
Member Avatar for xuexue
0
178
Member Avatar for Philip435

Hey guys I have a small problem and i hope you can help. Basicly am going to make an search script to my website. Im going to use onkeyup event when the user is writing and my problem is that I wont to make a function that takes in input …

Web Development javascript
Member Avatar for Philip435
0
145
Member Avatar for StefanCP

Hi folks, i have a question... I am building a mu website, [CODE]www.youngmom.net[/CODE], it will be available on .de too. My problem is that suddenly, when i am trying to register new blogs, or new usernames, for test purposes, when i click the sign up buton i am redirected to …

Web Development wordpress
Member Avatar for StefanCP
0
110
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 …

Web Development html-css perl php
Member Avatar for michelleradu
0
165
Member Avatar for LoriM

Hello everyone, I have a button on a page that is created with the <input> statement - this statement also contains the event handler onClick. The button displays correctly on the page but the event handler is not working - I know this as I put a simple alert at …

Web Development javascript
Member Avatar for LoriM
0
183
Member Avatar for daneuchar

hi, i wanna print the result in a table but i am failing to do so.. other query in my table are working but dont knw why this query is not displaying in the table [CODE]SELECT user_profile.user_id, user_profile.user_name, payroll.salary, payroll.hra, payroll.da, payroll.pf, payroll.nsa, payroll.ince, user_profile.desig, user_data.period, user_data.work_hours FROM payroll, user_profile, …

Web Development display php
Member Avatar for daneuchar
0
78
Member Avatar for Slammer

Hi, my problem is in regular expression. I need to catch from html code hyperlink tag's href atribute content if this hyperlink contains search condition. here is snippet: [CODE=php]$a = "nail"; //search ctriteria between <a></a> $s =<<<EOF <a class="level2" onmouseout="this.style.background = '';" onmouseover="this.style.background ='#2c7cf4';" href="index.php?item&amp;module=1&amp;category=11" style=""> kaut kas cits </a> …

Web Development html-amp php regex
Member Avatar for Slammer
0
128
Member Avatar for Benbo1980

Hi there, I have successfully setup a page using a tutorial (shown [url]http://www.phpeasystep.com/mysql/10.html[/url]) It's all working fine as it stands. I have now added another column to the database that can either be 1 or 0 and I would like to be able to change it on the update page …

Web Development mysql php
Member Avatar for freshmem
0
1K
Member Avatar for JuliaNell

Hi guys, its nice meeting you all, forgive me i might be asking simple questions believe me im totaly new to PHP and im so lost. Help me out with this. Create an array with random number of elements and each value and each value is random itself. Display array …

Web Development php
Member Avatar for JuliaNell
0
79
Member Avatar for preetg

hi........... my update code is working correcty.... .....but i want update links in front of every record of table ... plz tell me how it is possible........... thanx for last reply..... m pretty new in php [code=php] [file name=updaterecord.php] <? $con=mysql_connect('localhost','root','root'); if (!$con) { die('Could not connect: ' . mysql_error()); …

Web Development php
Member Avatar for preetg
0
113
Member Avatar for whiteyoh

Hi all, My code lists items based on the logged in users id. when listed these items have an edit function. When the use clicks edit, the url holds the id for that item. My problem is that its possible to change the url to show details of something thats …

Web Development php session
Member Avatar for whiteyoh
0
170
Member Avatar for MDanz

i have multiple entries with starting with the letter 'a' .. but the query below only displays one result. [CODE]<?php mysql_connect("localhost", "Master", "pword"); mysql_select_db("db"); $letter = htmlentities($_GET['search']); $user = mysql_query("SELECT DISTINCT keywords FROM Stacks WHERE keywords LIKE '$letter%' ORDER BY keywords")or die (mysql_error()); while($rowz = mysql_fetch_array($user)){ $keyword = $rowz['keywords']; $name …

Web Development php
Member Avatar for MDanz
0
114
Member Avatar for aryanmughal

Hello Everyone i am here to get help from you to make a php website where people can post videos which are hosted on different video hosting websites and also earn revenue from their sharing.... The website will look like [CODE]http://www.e-soft24.com/scripts/video-embed/[/CODE] And Form Will Look Like This One I Found …

Web Development php
Member Avatar for diafol
0
138
Member Avatar for geek_till_itMHZ

Need writing a java script that will list prime numbers from 1 - 999 in a 10 Row table...I think I have the prime number logic part down but I cant figure out how to get JS to start a new column after it lists 10 numbers? I would obviously …

Web Development javascript
Member Avatar for madmital
0
129
Member Avatar for Stefano Mtangoo

Hi I want to make form dynamically by just passing array of stuffs. I have tried but cannot may be due to my limitation in PHP. Here is what I have so far. Please help me! [CODE=php] class MyForm{ private $formArray; //pass array to build a form in form of …

Web Development php
Member Avatar for Stefano Mtangoo
0
116
Member Avatar for michelleradu

Hi guys. I'm trying to pick 2 dates from a calendar on my webpage. I've got 2 textboxes (date1 and date2) and the calendar image next to each of them which opens a separate window with the calendar. It's all working fine, except for the fact that I can not …

Web Development javascript php
Member Avatar for michelleradu
0
372
Member Avatar for kanuri1

hi here i wants to show the room numbers by using the following code but it is not working. here iam giving the code plese give the proper coding [CODE] Dim conn As New SqlConnection(ConfigurationManager.ConnectionStrings("guest1").ConnectionString()) conn.Open() Dim da As New SqlCommand("select room_no from guesthouse where room_no not in(select room_no from …

Web Development asp.net
Member Avatar for madmital
0
82
Member Avatar for dlannetts

Ok, so l am new to php ... sort of, now l have managed to throw this together: [CODE]<?php $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("test_database", $con); if(isset($_POST['Login'])) { if($_POST['username']!='' && $_POST['password']!='') { //Use the input username and password and check against 'users' …

Web Development php
Member Avatar for dlannetts
0
116
Member Avatar for StefanCP

I have this code, it s a wordpress MU code. The result is a string list of blogs subdomains, on a MU domain. [CODE]$blogs = get_last_updated(); echo 'Most active mommies:<ul>'; foreach ($blogs AS $blog) { echo '<li>'.$blog['domain'].'</li>'; } echo '</ul>';[/CODE] I want that instead of the unclickable subdomains, to get …

Web Development php wordpress
Member Avatar for StefanCP
0
143
Member Avatar for sunaruna84

Hi Friends, I have used this mail function it works properly. mail has sent when i submit the enquiry form. i need the "Enquiry posted sucessfully" message will be displayed in enquiry form. please tell the solution for my problem. usermail.php [code] <?php if( isset($_POST['name']) && isset($_POST['companyname']) && isset($_POST['address'])&& isset($_POST['country'])&& …

Web Development php
Member Avatar for harshbavaliya
0
549
Member Avatar for drewpark88

Hey Guys, I have an If statement in one of my php files. I want to send an email to my client anytime it IsApproved. So how do I make it send an email to the client when it is approved? Here is some of the code, the first if($response->IsApproved …

Web Development php
Member Avatar for phpbeginners
0
245
Member Avatar for aryanmughal

Hello Everyone i need your help in making this code kindly help <img src="http://i45.expamle.com/35i4o5t.gif"> i want this image to load in a page by calling it like http://www.example.com/tp.php?code=35i4o5t.gif but the problem making area is that the server information changes on every image can someone make it for me ...... <img …

Web Development php
Member Avatar for cwarn23
0
80
Member Avatar for diafol

Something odd going on with str_replace. When I replace a set of double characters with another set (double characters), I get a text length increase of 1. [CODE]$gw = array("ll","ch"); $gw2 = array("lž","cž"); $cw = array("&acirc;","&grave;"); $cw2 = array("â","à"); $s = str_replace($cw,$cw2,$s); $s = preg_replace('~[^\\pL\d]+~u', '-', $s); $s = trim($s); …

Web Development php
Member Avatar for diafol
0
112
Member Avatar for drewpark88

Hey guys, I have a problem, my process_transaction.php page was working fine before I added some code to it....but I need that code to work. I added an if statement that should send an email to my client's once my process_transaction.php has determined whether or not the payment has been …

Web Development php
Member Avatar for drewpark88
0
308
Member Avatar for Traicey

Hi All I have datagrid with a dopostback javascript, right now it looked click-able, when I hover with a mouse it select the entire row, except one thing when I click it doesnt do anything, I need to select a row in my datagrid and pass the values of the …

Web Development asp.net
Member Avatar for Traicey
0
127
Member Avatar for phpDave

Hi, I''m trying to learn how to send emails to registered users with php mail function. Been online a lot and getting confused. I was wondering if anyone could explain how the set up is done and what is needed to accomplish this task. Any input on this topic would …

Web Development php
Member Avatar for phpDave
0
145
Member Avatar for kdcorp87

i don't want to use crystal report. i want to print a fromview or gridview in my printer by c# code in a webfrom. window.print() pint the whole page i want only the selected part will be print by pressing print button. .................................................thanks

Web Development asp.net printer
Member Avatar for kdcorp87
0
150
Member Avatar for vanessia_1999

I am trying to write an if statement for image in my database. Example: if no image is relating to the recipeid do not post a blank image box leave blank as if there is nothing there..only show image for recipeid that has a picture. This is my code that …

Web Development php
Member Avatar for vanessia_1999
0
164
Member Avatar for Altairzq

Hello, I'm having this error in a new hosting where I just uploaded my website. I didn't have this problem in my old hosting: 404 Not Found Not Found The requested URL /cgi-bin/php/myscript.php was not found on this server. Do you know what could be causing the error? It is …

Web Development apache php
Member Avatar for Altairzq
0
1K
Member Avatar for LoriM

I have been a mainframe programmer for over 20 years - I have a new project that requires browser pages written in JavaScript. [B]Please let me give some background of my code.[/B] I currently begin with a HTML page that assigns the values retrieved from a third party vendor's API …

Web Development api javascript web-browser
Member Avatar for LoriM
0
128
Member Avatar for jjasoningram

I am trying to put a variable in as the value of the mail function on my script. I am relatively new to php and I may be making a simple mistake. Here is the script: [code=php] $busmail = $_POST['field_2'] mail(" . $busmail . ","Order Confirmation","Your Order Has Been Received …

Web Development php
Member Avatar for nav33n
0
145
Member Avatar for meepmeep

Hi, I would like to submit form data in two ways, with the one submit button. The posting methods i want to use are... To post to mysql database: [code=html]<form action="success.php" method="post" name="form" id="form" onsubmit="return validate(this)">[/code] To post to email: [code=html]<form action="http://www.mywebsite.com/cgi-bin/cgiemail/form/form.txt" method="post" onsubmit="return validate(this)"> <input type="hidden" name="success" value="http://www.mywebsite.com/form/success.html"/>[/code] How …

Web Development php
Member Avatar for meepmeep
0
93
Member Avatar for PinoyDev

Good day guys.! Just need a little help on how to create a php function that will loop all the rows with a text box in a table(name="gradetbl") in column 1 and save the value of the text box into mysql database when ok button is click. This is the …

Web Development php
Member Avatar for PinoyDev
0
132
Member Avatar for assgar

Schedule Repeat events Hi I am stuck in fact I don't know where to start, can you point me in the right direction? I have the form to capture the user input but don't know how to proceed to use this information. I need to allow the user to schedule …

Web Development php
Member Avatar for gearond
0
1K

The End.