17,029 Solved Topics
Remove Filter ![]() | |
I am using cubecart as the shopping cart for my website, I want to change the Order confirmation message from "Thank you, your order was successful and payment has been made! Your goods will be dispached as soon as possible. Please visit again soon." to the following message: [code] Thank … Web Development php | |
hey there this problem stuck me out how to display url like this [CODE]http://www19.domain.com/548ecedd7f87970e986dc19077ef2edd.rar[/CODE] [CODE]preg_match_all('#^(?:http://)www[0-99]([^/]+)#i',$url,$parts); foreach ($parts[1] as $test) { echo 'hehehe '. $test; }[/CODE] and the result is: [CODE] hehehe 9.domain.com[/CODE] it just stuck me out i'm already search the answer at least 5 hours :( i do not … | |
I am attempting to figure out how to use a datagrid with checkboxes. I found some information for using an item template and the FindControl method. I am using Dreamweaver to program so I'm sure I'm not getting all the bells and whistles that VB.NET has to offer. I'm stumped … Web Development asp.net vb.net web-server | |
here's the link to the script: [URL="http://www.dynamicdrive.com/dynamicindex17/ajaxpaginate/index.htm"]http://www.dynamicdrive.com/dynamicindex17/ajaxpaginate/index.htm[/URL] I got the script working, but I can't manage to move the numbers from the top...to the bottom. I tried nearly every combination I can think of. Here's a screenshot of where the numbers are placed currently: [IMG]http://www.justinmarcusdesign.com/image.jpg[/IMG] [B][COLOR="Red"]Here's the HTML:[/COLOR][/B] [ICODE] <!DOCTYPE … Web Development caching html-css javascript javascript-jquery session user-interface | |
this code was working fine until i changed the way the site loads the content (it now loads the content into a div tag) and since then it will not populate the menu. the page can be viewed at [URL="http://acmeart.co.uk/pip_new"]this site[/URL] you will need to go to the sub links … Web Development php | |
i have these two pages of information which are stored on a php page which then feeds the main div tag on the index page. the problem i have here is that a scrollbar shows up on the first page but not the second. so to see the rest of … Web Development php | |
hi i have a date in which i want to add the the days .and find the date. Web Development php | |
[CODE] $expiredate='2009/03/31'; $cdate='2009/03/03'; $dateDiff = $expiredate - $cdate; $fullDays = floor($dateDiff/(60*60*24)); [/CODE] the above method i am using to find the difference between two date.but it is not working.can any one tell me how to find the difference using php. Web Development php | |
Hello, I'm pretty new to PHP and MySQL. I was wondering what the most efficient way to access a large database would be. All the tutorials I've seen show something along the lines of: [icode]$database = mysql_query("SELECT * FROM table");[/icode] But it seems to me that if 'table' was a … | |
Hi, The examples in w3 page don't work. I do copy and paste and create exactly same database but nothing changes. It returns "Error on Page" error. [url]http://www.w3schools.com/php/php_ajax_database.asp[/url] [url]http://www.w3schools.com/php/php_ajax_responsexml.asp[/url] [url]http://www.w3schools.com/php/php_ajax_livesearch.asp[/url] Web Development javascript | |
Hi Guys It´s my first time here and Of course I have a problem. I have a gridView with a Hyperlink and I´d like to open a Modal Pop Up when I to click in this link. How can i do it? is it possible? Thanks a lot everyone regards | |
Hello, In dreamweaver, i'm trying to do something on [URL="http://www.central-forums.net"]my website[/URL]. Now whenever someone clicks on a link like forums, i want to be [url]www.forums.central-forums.net[/url], but at the moment, that won't work.... how do i do it... This is my current script: [code] <li><strong><a href="www.central-forums.net">Homepage</a></strong></li> <li><strong><a href="forums">Forum</a></strong></li> <li><strong><a href="about">About</a> </strong></li> … Web Development | |
hi ! how can i use multiple submit buttons in the same form i want to pass form values to different pages depending on which of the two submit button is clicked... thank's Web Development asp | |
Table does not display any border when php outputs data from MySQL. I'm trying to set the following styles for table: border-width: thin border-style: solid Below is the snippet of code I'm having trouble with. print( "<table border-width = thin border-style = solid cellpadding = 1 width = 1400px>" ); … | |
I want to pass a php variable into xml script. Essentially what I want to achive is: var xmlvariable= '$phpvariable'; Is there a simple solution to this? Many Thanks Nick | |
Hi, I am making a site, in firefox it looks fine, but in IE its a mess, take a look at the first page, you will see that the images are not filling the space as they do with the firefox, although they have the same deminsions. The site is … Web Development php | |
Hi All, I am displaying an image from database using php .... the problem is that i want to give a row of colors beneath the image .... so that when a user clicks on one of the color .... the image should change accordingly ... in my case i … Web Development image javascript | |
i have a parse error and i just cant figure out what it is because it seems my code is right but maby im wrong any advise is apreciated aswell heres my code [CODE] <DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="en" lng="en"> <head> <title> Background Colors </title> … | |
Hello - I'm new to PHP, only been learning it for about a month, but I think I am starting to get the hang of it. I am working on a project that involves the Google Maps API which uses markers that are populated by values from a MySQL database. … Web Development api google-api php | |
Hi, I have an oracle sql query that return many rows. The result will be shown in an html table in column format. I have html table that with the static header. I need to generate dynamic rows depending upon the result of the queries. Thanks, Reuben Web Development coldfusion html-css oracle | |
I have my code in a .CS file. I've writen a ton of methods, which work fine and had lots of seccess including code in this file. I have also been able to declair sql objects at the class scope with no problem. My problem is that everytime I try … Web Development asp.net | |
I have created image button at run time. But I want to know when I will click on this button then its click function will get call.How to create click event of this image button. I have tried [code]Function bindgrid() { Buttonname.click+-new ImageClickEventHandler(Buttonname_click); } Protected void Buttonname_click(object sender, ImageClickEventArgs e) … | |
Hi I want to display results which are retrieved from the database in the following format: 1 2 3 4 5 6 7 8 9 ........ ....... ..... based on the mysql_row_count() dividing the results into 3 columns and n rows. [code=php] $result1 = mysql_query("SELECT * FROM table2"); $row = … Web Development php | |
Background - this code adds & deletes file inputs from the screen as well as adds & deletes them from an array that will be used in the uploading process. I'm having trouble splicing the correct value from an array. In the remove function, I think it is always removing … Web Development javascript | |
Hi, I have the following Javascript code for loading my Google custom search: [CODE=javascript]Search = '<form action="http://www.ututorial.net/search" id="cse-search-box"><div><input type="hidden" name="cx" value="partner-pub-3996237323979957:tenb6ft9bbh" /><input type="hidden" name="cof" value="FORID:10" /><input type="hidden" name="ie" value="ISO-8859-1" /><input type="text" name="q" size="31" /><input type="submit" name="sa" value="Search" /></div></form><script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en"></script>'; function set() { document.getElementById('Search_Content').innerHTML = Search; }[/CODE] This works fine … Web Development html-css javascript | |
I am trying to use a variable to refer to a column of a fetch_array. Problem is it is not working: [code=php] $table_field = "name"; $result = "select * from table"; while($myrow = mysql_fetch_array($result); $text .= $myrow[$table_field] . ", "; // Note: if I use 'name' it works fine... } … Web Development php | |
Hi Everyone, New ASP.NET (C#) programmer here. Have a quick question that I'm sure you all will laugh at me for asking :) I'm using a Master Page to control my site's pages. On the master page I have a User Control that consists of two Labels, one for success … | |
Hey every1, M new to this community, hope you'd help me out. I gotta develop a mini projecy on media player that could be online and play various formats. I know that i'bve to include certain codecs, of which i'ven't got ne slightest idea. Can any one pls help me … | |
Hello fellow members: I want to nest my forum replies....meaning reply to a reply....so want to create a 2 dimensional array with one number refering to the orig post and the other for each reply on that post Could somebody please help me out. Thanks in advance my forum_replies table … Web Development php | |
Hi, I just read thought a tutorial on how to email pipe via evolk. When i try to send an email to the email address that is suppose to do the job, i get an error. "Mail delivery failed: returning message to sender pipe to |/home/username/public_html/pipe/email_pipe.php generated by [email]test@website.com[/email] local … | |
Hey all, guys I hav to use calendar control in a data grid.. But the events for tha calendar(selection change n others ) are not getting fired... i am using datagrid_itemcommand and i am searching for the command name but the calendar control doesnt have command name. how i can … Web Development asp.net | |
Hello, I am very new to PHP and have been working with it now for about a month. My site uses a script to process a POST and generates a new page. The page it generates is saved with the same name as a blank html file on the server. … Web Development php | |
Hi All I'm trying to combat some SPAM coming through on a booking form. It's all the usual rubbish. I've been searching to find the php code that would do the following if ($msg contains http:// or [url]www.)[/url] {echo "Please don't put links in the comments - it looks like … Web Development php | |
I tried doing this, and it didnt work. Im goign to identify the $css in the else of an if else statement; so when its else, it willl turn the web page that color, but i cant figure out how to acomplish it. [CODE] $css = "<style type="text/css"> body { … | |
Hi There, I'm currently creating a form and inserting the details into a database, the problem i came across is when the php checks and inserts the data i made the password md5 [code] $password = md5($_POST['password']);[/code] However if the user wants to request his password via email how will … Web Development php | |
Hi there, I am using AJAX XMLHttpRequest with PHP in order to view full project photos according to project id. This is my ajax request: [CODE]function getMessageResponse(str){ var xmlHttp; try{ // Firefox, Opera 8.0+, Safari xmlHttp=new XMLHttpRequest(); } catch (e){ // Internet Explorer try{ xmlHttp=new ActiveXObject("Msxml2.XMLHTTP"); } catch (e){ try{ … Web Development html-css javascript php | |
Hi, Im new to .net programming,I have been stuck with a dynamic search form. I have a dropdownlist and a text box. The dropdownlist actually hold the filed name where when i search is "where [I][B]dropdownlist [/B][/I]value like [I][B]textfield [/B][/I]value this is my front end [CODE]<tr> <td style="height: 14px;background-color:#ffd6d6;"> <asp:Label … Web Development asp.net web-server | |
[code=php] $_SESSION['MM_paymentstatus']="to be verified"; $modeofpay="Credit Card"; mysql_select_db($database_enamysqldb, $enamysqldb); $query_recunvesummary=sprintf("SELECT * FROM paymentsummary WHERE username=%s AND paymentmode=%s AND foryear=%s AND initialstatus=%s", GetSQLValueString($_SESSION['MM_Username'], "text"), GetSQLValueString($modeofpay, "text"), GetSQLValueString($_SESSION['MM_yearlynow'], "text"), GetSQLValueString($_SESSION['MM_paymentstatus'], "text")); $recunvesummary = mysql_query($query_recunvesummary, $enamysqldb) or die(mysql_error()); $row_recunvesummary = mysql_fetch_assoc($recunvesummary); $totalRows_recunvesummary = mysql_num_rows($recunvesummary); $totalunvepayment=0; while($row = mysql_fetch_array($recunvesummary)){ $totalunvepayment = $totalunvepayment + $row['amountpaid']; } … | |
Hi, I am developing a piece of software which is not in any way being designed to hack into my schools proxy server using HTTP auth :P At the moment I have got it to generate random passwords of a random length, however using this method it is sometimes repeating … Web Development php | |
Hi all, How can we open a flv file using the lightbox?I am using the following code <a href="http://myurl.com/video/clock.flv" class="lightwindow">Link Name</a> But the browser still downloads the file instead of showing it in lightbox. One more thing...is it possible to display some text along with this video in the lightbox? … Web Development javascript | |
good day.! I want this date format to be echo. 2009-2010. My code gots error when i try to show this format. Here is my code: [code=php] $nowdate = date('Y') "-" date('Y') + 1; echo $nowdate; [/code] Thank you for giving time this simple problem. God bless on this mother … Web Development php | |
Hi there I am setting up a text search with 3 search buttons to allow 3 different searches from the one text box. Each search has different values for the 2 hidden elements. So far I've got the 3 submit buttons working with the below code but I can't figure … Web Development javascript | |
Hello Fellow members, Need assistance in my PHP/SQL statement please. [code=php] $sql1 = "SELECT * FROM `forum_cats` WHERE `admin` < ".$row['admin']."+1"; [/code] I would like the above code in Ascending order i.e ORDER BY ASC. Thanks | |
Good day.! How to clear all session variable when they click back on the internet explorer.?Assuming that i am on info.php page, when i click back on that page, all session on the whole site will be set to null. Pls help if this is possible. Thank you.God bless on … | |
Good day.! I have a page called loginforgot.php. There are two txtfield on this form(txtuserid) and (txtanswer) and 2 command button(retrieve) and (cancel). When the user click on retrived, the page will automatically send email which contains the password to the email address of the user base on the txtuserid … | |
hey all, i've only been using ajax for about 2 weeks but i was wondering, if at all, can you make an effect similar to the one here: [url]www.okayplayer.com[/url] (this also happens on sites like nba.com, espn.com etc) on the top of the page with the pictures scrolling with news … Web Development flash javascript | |
I dont understand wat has happened... the code was working fine yesterday when testing, and now i try to use it today, and it doesnt work. setcookie() isnt setting the cookie... Maybe i have missed something, so hopefully someone here can see where ive gone wrong. Just to confirm though, … Web Development php | |
please can anyone give me more information on how to solve this problem i have. im writing a php code to create a form for a ms access database, i want customers to be able to select or tick various things they want in our services either from a dropdown … Web Development php | |
guys i have come to conclusion that basically pocket internet explorer for windows mobile 5.0 and pocket pc 2003 basically dont support javascript. It is better to do everything based on simplest html tags. Web Development javascript | |
The End.