39,320 Topics
| |
What I would like to do is have an area of my site where visitors can verify if a domain is registered through us. So basically we would manually ad the website names to a text list and would like the script to check the list and if the website … | |
I'm learning PHP & MySQL. While trying to folllow a tutorial I am not getting the erxpected result which is simply to retrieve a little data out of a table with a query. Here is my PHP code: [CODE=php]<?php //1. Create a database connection $connection = mysql_connect("localhost", "kingdomc_mtech", "busine$$"); if … | |
I'm not sure if this is the right forum so I apologize in advance! I created a mobile version of my website. I have a subdomain called mobile.thinkdolphin.com. I've tried doing a redirect in my .htaccess file but I get an error saying there are too many redirects: [CODE]RewriteEngine On … | |
Hi, I have the following dates, either: - 07-09-09 (which is 7th September 2009) or - 07/09/2009 (which is again 7th September 2009) I need to reformat whichever one of these formats comes up so it is correctly inserted into myql db via php. Have tried strpos to find - … | |
BELOW IS PHP CODE GETTING PARSE ERROR AT LINE #16 [CODE=PHP] <html> <head> <title>table php file</title> <?php $times=2; if(isset($_POST["submit1"])) { $start=$_POST["txtStart"]; $end=$_POST["txtEnd"]; $times=$_POST["txtTimes"]; for($start;$start<=$end;$start++) { $answer= $start * $times; print($start. "multiplied by" .$times. "=" .$answer.) ; } } ?> </head> <body> <form name="form1" method="post" action="table.php" size=15> Start-Number:<input type="text" name="txtStart" value="1" … | |
Hi frnds... I m inserting some text(link+) into db table like : [B]Our PHP forum is the place for Q&A-style discussions related to this popular development language. LAMP programmers... [url]http://www.xxxxxxxx.com/gallery/gallery.php?gid=295&gcat=Heroines&gname=Bhumika%20Chawla's%20Hot%20[/url].... Our PHP forum is the place for Q&A-style discussions related to this popular development language. LAMP programmers [/B] When i … | |
I had a rather short question, doesn't OOP Programming make you increase the amount of executed queries? [code=PHP] class Guild{ private $members[]; private $sName; private $iLevel; function __construct($guildId) { // get all information from db using the guildid // also get all memberid's from the db and pass these trough … | |
Hi, I've got the following type of date string parsed from an OFX file: 20090902000000[-5:EST] How can I get this into my mysql db via php - formatted as d-m-Y I've tried : [code]$ofxdate = strtotime("20090902000000[-5:EST]"); $stmtdate = date("d-m-Y",$ofxdate); [/code] Obviously wrong! ... Any assistance appreciated! How would I do … | |
[CODE] <?xml version="1.0"?> <staff> <user> <id>A</id> <rank>User</rank> </user> <user> <id>B</id> <rank>User</rank> </user> <user> <id>C</id> <rank>Administrator</rank> </user> </staff> [/CODE] I have to promote to "Administrator" a random user using XPath. How can I do it? | |
Hi All, I have a PHP code for Sending http post from cURL. it work fine but i have a trouble that when i am send any data from loop it display me only first string the remaining string it not print. I am Use this Code. [ICODE]<html> <head> <meta … | |
The script works just fine in IE, problems occur in FF. [code=javascript] <script language="JavaScript" type="text/javascript"> var counter = 0; window.onload = ajaxFunction; function ajaxFunction(nr){ var ajaxRequest; try{ // Opera 8.0+, Firefox, Safari ajaxRequest = new XMLHttpRequest(); } catch (e){ // Internet Explorer Browsers try{ ajaxRequest = new ActiveXObject("Msxml2.XMLHTTP"); } catch … | |
Adding The Sig [IMG]http://i179.photobucket.com/albums/w300/scalia24/sigforum1.jpg[/IMG] Always attach Sig Option [IMG]http://i179.photobucket.com/albums/w300/scalia24/forumsig2.jpg[/IMG] NO SIG!!!! [IMG]http://i179.photobucket.com/albums/w300/scalia24/nosig.jpg[/IMG] please tell me what i need to do i use [url]www.forummotion.com[/url] | |
[CODE=php]<? function outError($text){ print "<center><b><font color = red>$text</font></b><br><br></center>"; }[/CODE] [CODE=php] <option value="0" <?= ($installtype == "0") ? "selected" : ""; ?> >Install with CPanel Info (can create MySQL DB automatically)</option> [/CODE] I have a script with such unusual tags and the script won't work. I cannot replace them since they … | |
I'm a newbie in programming. I spent few hours yesterday and today working on a small AJAX page with multiple combo boxes that are populated from the database. I use IE6 99% of the time and I utilize the excellent . I almost done with the page (I’m pretty proud … | |
Hi all getting this error "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1" [code] if($_POST['paypalsubmit']) { $upsql = "UPDATE orders SET status =2, payment_type =1 WHERE id =" . … | |
Hello, I am retrieving results from a RSS feed, but not all results have a title. I would like to run something like the below code which, lets me know how many times a title is empty. If three "titles" are empty, then X code would dynamically echo "3" etc.... … | |
Hi, I am writing code to create new text filed dynamically. [COLOR="Red"]But after create 2 or 3 it stops. Not creating continuously. [/COLOR] How to solve this?? [code] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <SCRIPT language="javascript"> function GenerateRow(rowid){ str = … | |
Hi I have what is probably a simple question as still fairly new to php. I have a webpage which has two drop down lists, both dynamically created from sql databases. I need the user to be able to select a client in the first drop down list and it … | |
I didn't know where to post this so please move this if it is in the wrong place. I need flash to read from my database(mysql database) and also write to it. I tried doing it through php>xml>flash but it won't work. My friend works with flash while I work … | |
Well, i found this hack for VB. And basically it displays the information of the user the same as before but in a different position. I was wondering if someone could help me out and tell me how to center the action buttons and info above and below the post. … | |
Where is the best place to save cakes.php in Apache web server? I was trying to develop a web page in Dreamweaver, and then save it so that the Apache server runs it in standard browser without fail. | |
which method work fast GET() or POST() ? | |
Here are details about my forum to make things easier. phpBB Version 3.0.1 Host Servage.net Style fisubice2 Database type/version MySQL 5.0.85 How did you install your board? Using install package from Phpbb.com Fresh install or a conversion First I installed Phpbb2. And then upgraded to version 3 MODs installed? [CODE] … | |
Hello guys I still could not solve the PDF issue :( I am using XAMP server on windows system. I think PDF comes with it by default. (not sure though). I have uncommented the required 2 lines in php config file. Yet no luck. Could somebody please help me out? … | |
How do I make the timestamp string be displayed as something that is actually readable / understandable? Yes, I have looked on google, here and a couple other places, but I am not seeing anything too specific or I am just not understand. Thank you for your understanding, helping me … | |
Heya Guys, I am currently working on a project, on which my customer wants to have a customizable object. Now, what i mean by this is that the customer wants a customizable "shoe" on their site. Whereby visitors can choose the colour of the laces, the lace holes etc etc. … | |
So here is what I would like to achieve, I currently have 2 servers one of the servers has a script installed on it that is a pretty nice script, I would like to be able to run this script on both server while it is only installed on one … | |
Hi! I have a form working and in the login section I also give the option to register in case someone hasnt done so yet. This will show another form which, on submit, will use a different .php page. Now on that page,if register is successful, I'd like it to … | |
Hi I have updated the database when browser is closed,But i have a small problem.i.e. The database is updating when the page is refreshing also. I need that the Database should be updated on when the browser is closed(Not updated when page is refreshed). | |
Hello, Anyone know how to solve this problem? I have several tables. 1. the main table namely lesson contains several fields that used for searching. 2. weight is assigned by users for each keyword for searching purpose. 3. users' keyword will be compared with the record in the database. each … |
The End.