38,020 Topics
|
|
hi i am trying to turn this code: strOutput += "<input type=hidden name=\"amount\" value=\""+ moneyFormat((fTotal + fShipping + fTax)) + "\">"; into a html form line: <input type=hidden name="amount" value="??????????"> im not sure what i shud be putting in the value bit. can anybody help thanks simon |
|
Hi! I hope someone can help me out on this one. I have been trying to get it work since last night. I am making an application where I can add a quiz. The quiz has questions. Each question has a certain number of choices and out of those choices … |
|
Hello All, I have a form that I created for user login. It has three fields. username Password Date I want the date field to default to the current date when users login. Can anyone help me with setting a default value for the date field? Thanks in Advance! Stick |
|
Hi all, Is there a way I can delete or expire a cookie that's been left in the users browser cache with php ? The reason I ask is, I'm setting up a paypal store, and if users already have a paypal cookie in their cache when they checkout from … |
|
Hi all, Would anyone know how to search an external html file for a work or phrase ? I was thinking something like - [code]<?php $fp = fopen('http://www.google.ca', 'r'); if (preg_match('/Google.ca/', print fgets($fp))) { echo "match"; } else { echo "no match"; } ?>[/code] Unfortunently, that doesn't work, but you … |
|
hey i just did this script for my phpbb forum. its a cash mod (for anyone familiar with) this is what came up Parse error: parse error, unexpected T_STRING in /home/thei2k9/public_html/includes/functions_post.php on line 359 here is line 359 $message = $lang['Stored']. '<br />' . $cash_message sprintf($lang['Click_view_message'], '<a href="' . append_sid("viewtopic.$phpEx?" … |
|
I have a bit of a problem with my newsletter here is the error I get: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/happy/public_html/newsletter/subscribe.php on line 64 Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/happy/public_html/newsletter/sindex.php on line 244 Warning: extract(): … |
|
I have a problem on mysql_query on using 2 dbs on 1 mysql server. Please help, and code is;; <? $db1[host] = "localhost"; $db1[user] = "abc"; $db1[pass] = "1234"; $db1[db] = "db1"; $db1[dir] = "a/ab"; $db2[host] = "localhost"; $db2[user] = "abc"; $db2[pass] = "1234"; $db2[db] = "db2"; $db2[dir] = "a/cd"; … |
|
I installed Apache2, PHP5, openssl, Mysql4.1 all from src(except MySql=>RPM). The problem I am having is with PHP ( well I think anyway ). When I start Apache it loads php without error, but when I point Firefox to localhost/test.php which contains CODE: <?php phpinfo(); ?> ,its displayed rather than … |
|
I have a Moveable Type hosting account that seems to come with all sorts of bells and whistles that are not related or even compatible with Moveable Type. I am extremely ignorant about what I'm doing here and I got the MT account because I already had an MT blog, … |
|
Dear all members, I have a problem . As i use dial up network as a mean to get to the internet it is some times costly to upload my code to internet and then test . As i am learning PHP recently , if any body suggest any way … |
|
Hi there, Ok, I need help from other programmers on creating a hiring ad looking for a programmer who knows MySQL/PHP very very well. I know there are supposed to be 3 different areas I need the programmer to have & some don't have them. 1. The DB Design 2. … |
|
Hi there, I am taking over someone elses code and do not work in php. None of this guys pages actually work! The one I am starting on is at [url]http://www.vri.ca/gallery/surroundphoto/restaurant[/url] When you click on any of his links you get the same picture so I am assuming that the … |
|
I have a login script, I want to modify it to restrict the sharing username access, by IP address, what will be a good method to do this? thanks. |
|
Hello please help Total php beginner please help i am going crazy my home-page opens finishes loading but with error's on page and my hitcounter does not display on my site but it's still logging my site I looked through my site files and found this error below. Is this … |
|
I am getting the following error: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/champion/public_html/search.php on line 34 when doing a search for text in a description or product name. The error only happens when I do a search for multiple words. Here is the code: … |
|
Hello all, first off, I am no PHP coder. I would like to display RSS feeds from other sites, to my index.php on my site. I found this script at [url]http://www.feedforall.com/free-php-script.htm[/url]. It's a php script for this just that, but it displayes in the php file (rss2html.php) OR a .shtml … |
|
Can anyone suggest any free/pay script or software of online HTML editor? I want my users to be able to create html page on my website and save to database or text file. TQ. |
|
I am a post graduate [B]I was approached by a company to design for them an Intranet using PHP[/B] i just want to know is this a complex issue or is it easy, bcoz in college( those unknown colleges) we didnt do that much [B]PHP[/B] IF U MAY PLease give … |
|
hello i have decided to split my products into categories. each product has a category from 1-5. how do i make this page display products relevant to the category I have made links to each category on this page on the left. I dont know if this is the way … |
|
please help me when i run my code by using Mysql_num_rows() Warning: Supplied argument is not a valid MySQL result resource in c:\inetpub\wwwroot\php\connect to database.php on line 13 this is my code <?php /* declar some relevant variables */ $Host = "localhost"; //location of mySQL on server $Table = "books"; … |
|
I made a little code to update record in database like this: [PHP] require_once('includes/config.php'); if ((isset($_POST["DO_update"])) && ($_POST["DO_update"] == "edit_product")) { $ProductID = $_POST["txtProductID"]; $CategoryID = $_POST["txtCategoryID"]; $ProductName = $_POST["txtProductName"]; $ProductPrice = $_POST["txtProductPrice"]; $IsRebate = $_POST["selIsRebate"]; $RebatePrice = $_POST["txtRebatePrice"]; $ImageFileName = $_POST["txtImageFileName"]; $BigImageFileName = $_POST["txtBigImageFileName"]; $ProductDetails = $_POST["txtProductDetails"]; $query_update = … |
|
hi If you click on the following page [url]http://www.bluetipdvd.co.uk/indexd.php[/url] and the click on the two product links a new window opens which displays some more info. I am trying to make it so the window that opens displays info relevant to the the link that was click e.g clicking on … |
|
How to run web PHPscript in specified user, not in apache(default). In linux you create user test, and he has rights like root. Now you want to run [url]www.yoursite.com/test.php[/url], and script test.php is a execute script. But by default scripts are treated like user apache,but apache hasent got enough rights … |
|
I've been getting errors by putting tabs in my script to make it a little easier to read and more organized. As soon as I take the tabs out, the errors go away but the script is very ugly. I even tried using 4 spaces in place of the tabs … |
|
Ok here is what I want to do: I am going to have a "6 upcoming events" (baseball games) section on my website but I want to be able to enter all of the games on one day and have it show the 6 upcoming games on the website. The … |
|
I WANT THE FOLLOWING FORM'S RESULTS TO COME TO MY EMAIL ADDRESS! I HAVE NO IDEA HOW TO MAKE THE FORM FUNCTION. Could someone please guide me through ? [COLOR=DarkRed]<table width="681" border="1"> <tr> <td width="164"><span class="style11">Ebay Item Number : </span></td> <td width="420"><div align="left"> <input name="item" type="text" id="item" size="60"> </div></td> </tr> … |
|
Hello Dani PHP Members. My name is Michael, I have been looking online for a place to learn php and at this point I have given up. I am wondering if there is anyone on here that can teach me php and mysql. Or if you know of any places … |
|
Hi, I have a file with the dbase connection details which I call into my script using: include("config.php"); Problem is that when I need to include a page redirection, namely: header("Location: other_page.php"); I get an error saying that headers were already sent from the line with the include("config.php"); How do … |
|
Hi all, I have recently created a website (hosted through godaddy.com) for an online gaming guild and after using phpBB (v. 2.0.15) to make the forums, I stumbled upon php-nuke (v. 7.6 is what I would be using). Now the forums have already been running for a few weeks, and … |
The End.