39,320 Topics
| |
Hi, I need to use mail function to send emails to the user provided e-mail address which he/she gave at the time of registration. Can any one please help me regarding this? Thanks | |
alright im having so problems with my floating divs containers i am using three columns in my html part of my website and i have a wrapper around the three columns known as page and the columns are float left in css so they can be perfect aligned left to … | |
Hi, Somebody please help me, i am going mad out of my mind, for the past 4 hours or so some silly little problem has ratteled my brain and i cannot fix it. Basically, user registers on site, they get there activation email, click on link and the below script … | |
so i have a page called addpages with the following [CODE] mysql_query("INSERT INTO pages (name, title, description, keywords, content, updated) VALUES('$name', '$title', '$description', '$keywords', '$content', '$updated' ) ") or die(mysql_error()); // Get Last ID $lastid = mysql_insert_id(); // Start Create php page file $filename = "$name.php"; $template = file_get_contents("templates/default.php"); $filehandle … | |
Hi! I have a free script from Scriptol which I use to display feeds content on my site. The script has a form where you can submit a feed url and it will display on the same page the feed rezults. The problems is: - I want to make it … | |
I have a fix code below [code=php] $values=array( "advertisement1" => 34, "advertisement2" => 45, "advertisement3" => 16, ); [/code] I want to take some information from my database and output the same way I have the code above but am getting an error. I am using [code=php]$sql = "SELECT advertisement.adver_name, … | |
Hi, I have tried to find out on this, but I cannot be sure. Anyone knows for certain fopen and file_get_contents (or any similar functions) will generate an entry in the target domain's website traffic stats? I know this could be traffic analyser specific, so for a start, will it … | |
My static variable got initialized [B]everytime[/B] the function is called. Here's my code(simplied), thanks. - [code]<script> function validate() { return true; } </script> <?php vote(); Function vote () { static $testvar = 1; echo $testvar; if ($testvar == 1) { $testvar++; echo $testvar; } } echo '<td><input type="image" width=50% src="pix/camera.gif" … | |
Hi, As i am new in OOP, i just want to ask those who are experts in OOP that can this my example be considered as OOP example? Thanks [code] dbprocess.class.php <?php class DBprocess { private $dbconn; private $db; public function __construct($host, $user, $username, $password, $database) { $this->dbconn=mysql_connect($host, $user, $username, … | |
[code=php]<? //Database Connection $dbcnx = @mysql_connect('localhost', 'Haresh', 'iwdpwd'); mysql_select_db('iwddb',$dbcnx); $memberidresult = @mysql_query('SELECT * FROM members'); //db hase only 2 fields, memberid & name while ($memberarray = mysql_fetch_array($memberidresult)) { $memberid = $memberarray['memberid']; echo '<p>The member id is ' . $memberid . '</p>'; $namelink = $memberarray['name']; echo '<p> <a href="http://www.xyz.com/x/?x=c&z=s&v=1801659&k=' . $memberid … | |
Hey all this is a pretty simple question, basically I connect to a mysql database, and iterate a list of names like this: [CODE]$result = mysql_query("SELECT * FROM Students"); echo "<table border=\"1\">"; while($row = mysql_fetch_array($result)) { print " <tr> <td> " . $row['Student'] . " </td> <td> <form name=\"FRMdelete" . … | |
How would I go about combining two seperate rss feeds to appear as one list in PHP? example: abc.com/horse/rss monty.com/cow/rss === results === 1.) lovely horses 2.) great looking cows 3.) my pony is sick 4.) cows make good steaks etc.... Thanks in Advance! | |
Hello Friends, I have created a form which has by default 4 rows and 4 columns. Once the user click on More(which as bottom of the table) one more row will be added to the form. When the user click on submit their information will be submitted. Every student will … | |
hello all i would like to know how to parse a page for links,follow a link,parse all occurances of a string whch follows a given tag then move on to the next of the originaly parsed links and do the same any help wwould be highly appreciated ciao | |
This project just got dumped on me. I have a text file that has several lines in it. Like this: [code][COLOR="Green"]<cat:8850> <begad:1279434><logo:><togurl:y><togemail:y><bkgrdtog:n><addr:ATTN:CHARLIE><zip:50613>'05 Pontiac Grand Am SE, 35,200 mi., $9,600 or best reasonable offer. Contact Charlie at 319-266-XXX<endad> <cat:8850> <begad:1278968><logo:><togurl:y><togemail:y><bkgrdtog:n><addr:34304 160TH ST.><zip:50613>'07 GRAND Prix, red, GM certified, 35,000 mi. Leather, sunroof, … | |
Hi, Thanks for looking. I have a contact form and everything else is checked against validation apart from the textarea. For some reason i cannot get textarea validation to work using php. I have tried: [CODE] if (strlen($_POST['query'] == 0 ) ) { echo "<p>You have not entered anything in … | |
Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\Sites\Single49\questsafety\webroot\login\includes\config.inc.php on line 55 A system error occurred. We apologize for the inconvenience. im not sure what this is tellin me can someone please help me … | |
hey all. i was wondering what some of you think would be a great start for a shopping cart that integrates paypal for a web software. and that after they go through the payment process they will beable to create there account i am just starting to get into ecommerce … | |
Hi, I have built a newsletter subscription script from scratch but cannot go any further. I will be creating an admin panel but not sure how i go about actually using something such as a WYSIWYG editor to send out the newsletter to subscribers. Can anyone recommend a free editor … | |
hello all, I am looking for some help doing multiple queries. I have two tables that are not related that I need to query on on PHP page. The page is for people to register for an event. The first table has a selection of dates for people to arrive … | |
OK, I put together some sample code from Paypal's api, that should complete a payment and notify me with IPN. For some reason it is not working. I tested it with sandbox.paypal.com's IPN tester, and that worked. (if it works, it is supposed to write all post variables to ipn.html) … | |
Hi, I cannot find the solution for this example. It is to do with Static declerations. Help please. Error : "Fatal error: Non-static method ExecuteSql::executeSql() cannot be called statically, assuming $this from incompatible context " Thanks [code] <?php class DBconnection { private $host="localhost"; private $user="root"; private $username=null; private $password=null; private … | |
is there any way to get the id you are going to insert the data in before you post the data, like get the last id and do a +1 to it or something pleaseee? | |
I have 100 items and 10 vendors. Vendors bid on that items like Vendor1 Bid [B]Item quantity price Total Min-require[/B] Item1 10 10 100 200 Item2 15 20 300 Item3 17 17 289 Item100 10 10 100 Vendor2 Bid [B]Item quantity price Total Min-require[/B] Item1 10 12 120 300 Item2 … | |
hi guys any idea how i can insert a whole html code in $content please ? basically i want to paste my html template after $content ='whole html code goes here' any ideas ? thanks in advance [CODE]<? if(isset($_POST['save'])) { $pagename = $_POST['pagename']; $content = 'test'; $filename = "cms/pages/$pagename.php"; $filehandle … | |
Hello, I have been looking at tutorials and pages on the net regarding cookies and sessions. Originally I thought my script was using both but then noticed it doesnt. I wanted to know if there is anything wrong with this code as my new server doesnt seem to like my … | |
Hi all, while sending newsletter to more than one people iam not getting message,if message is showed and the error gives the following please give me suggetions.... This is a multi-part message in MIME format. --==Multipart_Boundary_x41a1c62a6e13d8689239009589f2351cx Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit --==Multipart_Boundary_x41a1c62a6e13d8689239009589f2351cx Content-Type: image/pjpeg; name="2 air.jpg" Content-Disposition: attachment; Content-Transfer-Encoding: base64 … | |
hi, i ll create a session for a program and save the login time. how can i give the session expire time and where can i give it. Thanks | |
Hi!, I am trying to update record but an error is coming. Can any one help. [B]error is - mysql_numrows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\xampp\Test\Report\Despatch\update.php on line 10[/B] [B]here is the script[/B] <? $id=$_GET['id']; $username="root"; $password="mysql"; $database="service"; mysql_connect(localhost,$username,$password); $query = "SELECT * FROM contacts … | |
Hello, I am relatively new to PHP and need some help parsing a file. I was able to use explode to parse the file at the | delimiter , however I cannot figure out how to parse the file at two distinct delimiters. The file will need to be parsed … |
The End.