39,323 Topics

Member Avatar for
Member Avatar for lastgame2007

im having problem with my this, what i want to happen is when i submit, i want to save those records from 2 diffrent table's from my db, but it wont save? have you seen any problem with my code? thanks! [CODE] <?php include("connect.php"); if(isset($_POST['submit'])) { mysql_query("insert into tblgrading set …

Member Avatar for phorce
0
90
Member Avatar for cip6791

I would like to check if a user is logged on domain1.com and return a message on domain2. There is a lot more to the code, I only added a basic sample. index.php on [url]http://domain2.com[/url] [CODE]<script type="text/javascript" src="http://domain1.com/test.php?js"></script>[/CODE] test.php is on [url]http://domain1.com[/url]. [CODE] <?php if (isset($_GET['js'])){ header("Content-type:text/javascript"); ?> function doAjax(){ …

Member Avatar for Stefano Mtangoo
0
147
Member Avatar for welkam

I am beginner and this is my [B]first project[/B] (happy face). I am trying to make log in systen to learn php and mySQL. At first everything was working so and then i decided to rewrite everything in [B]Object oriented[/B] code and then it is not working. Since it is …

Member Avatar for welkam
0
128
Member Avatar for nikita.chandra

Hi all, Please help me how to add CC and BCC in this code section of form to mail using PHP [CODE] <?php //send email $from = 'enquiry@techxis.com'; $name = $_REQUEST['txtName']; $company = $_REQUEST['txtCompanyName']; $jobTitle = $_REQUEST['txtJobTitle']; $email = $_REQUEST['txtEmail'] ; $contactNo = $_REQUEST['txtContactNo'] ; $email = $_REQUEST['txtEmail'] ; $subject …

Member Avatar for AnkurThakur
0
159
Member Avatar for AnkurThakur

Hello Guyz, I wish that the Title of the thread explains itself a lot. I would like to Save an image from an HTTP URL which actually redirects to another URL. Actually, I am trying to Save the Profile picture of Facebook. [B]Example : [/B][URL="https://graph.facebook.com/thakurbhai/picture"]https://graph.facebook.com/thakurbhai/picture[/URL] Now when you will open …

Member Avatar for AnkurThakur
0
268
Member Avatar for simplypixie

I just thought I would re-iterate something that I have mentioned a few times in my replies to threads on here in that if your code isn't working, one of the first things to do is actually test your query in the database (i.e. through phpMyAdmin). The reason I am …

Member Avatar for rotten69
2
145
Member Avatar for swissknife007

I am completely new to PHP. I would like to know which are the good online resources where I can learn PHP. What are the basic things in PHP one needs to know?

Member Avatar for rotten69
0
412
Member Avatar for tnguru

How 1000 10,000 1,00,000 number converting in php? i mean splitting numbers like 100 1000 10000 100000 [B]to [/B] 100 1,000 10,000 1,00,000 with ' , ' thousand, lack, crores...

Member Avatar for rotten69
0
2K
Member Avatar for swissknife007

[CODE] <?php //email(to,subject,message,headers,parameters) $to="swissknife@gmail.com>"; $subject="Hi"; $message="Hello my friend"; $from="swissknife007@gmail.com"; $headers="from:".$from; mail($to,$subject,$message,$headers); echo" mail sent"; ?>[/CODE] This is a very simple php script to send an email. However ,it is not working for me and I am getting the error. [CODE] Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" …

Member Avatar for pro_learner
0
249
Member Avatar for shailu.thakre

anybody can solve my problem?????Access denied for user 'ODBC'@'localhost' (using password: NO)[ICODE]Access denied for user 'ODBC'@'localhost' (using password: NO)[/ICODE]

Member Avatar for pro_learner
0
84
Member Avatar for kfmnla

I am having some difficulty finding good, current information about how to correctly install FFMPEG-PHP in XAMPP on a Windows 7 machine. If anybody knows where to find such information, please post the URL here and I would be very grateful. Thank you very much. Happy Holidays!

Member Avatar for cereal
0
345
Member Avatar for phpDave

Hello, Anyone know how to get a session var. from a while loop. Here is some code: [CODE]<form id="form1" name="form1" method="post" action=""> <p>Age: <select name="age" id="age"> <option value="0">Select Age</option> <?php $i=1; while($i<=100) { echo '<option value="1">'.$i.'</option>'; $i++; } ?>[/CODE] It's from a drop down menu. Here is the code for …

Member Avatar for phpDave
0
181
Member Avatar for aaloo

i m making a blog using my own code .. i m not using wordpress or any sort of thing .. i m doing it manually. i want to show related posts section which would contain at least 4 links of another posts which are related to that particular post. …

Member Avatar for diafol
0
3K
Member Avatar for aaloo

Well, i am making a blog in which i have to show images and links in my every post.So i have to use <a> & <img> tags in my post. but I m also using htmlentities function for "post" string variable ( like this -- <?php echo htmlentities($post); ?> ) …

Member Avatar for diafol
0
456
Member Avatar for Swiftle

I have several strings that I want to split using different delimiters such as ",{}() [CODE]$ppl[0] = "Balko, Vlado \"Panelбk\" (2008) {Byt na tretom (#1.55)}"; $ppl[1] = "'Abd Al-Hamid, Ja'far A Two Hour Delay (2001)"; $ppl[2] = "'t Hoen, Frans De reÑŒnie (1963) (TV)"; $ppl[3] = "1, Todd \"5 Deadly …

Member Avatar for Swiftle
0
117
Member Avatar for kdogg556

Im doing a Contact form for a client and my php is limited. I need to make everything in this required. Here is the code: [CODE] <?php ob_start(); if(empty($_POST)) { $status = ''; $display_form = true; } else { $fname = $_POST['fname']; $lname = $_POST['lname']; $pname = $_POST['pname']; $email = …

Member Avatar for qazplm114477
0
175
Member Avatar for accra

[CODE]<?php $current_date = strtotime('now'); $due_end_date = 60*60*24*7; // Number of seconds for 7 days $sql = "SELECT * FROM sre_log WHERE current_date >== '$due_end_date-$current_date' ORDER by vtype"; $due_end_date = mysql_query($sql); //echo "$current_date"; while($a < $sre_log_num) { $id = mysql_result($sre_log_result,$a,"id"); $vtype = mysql_result($sre_log_result,$a,"vtype"); $due_end_date = mysql_result($sre_log_result,$a,"due_end_date"); $current_date = mysql_result($sre_log_result,$a,"current_date"); } echo …

Member Avatar for reco21
0
390
Member Avatar for meabed

This is CURL Ready function , to use it just call do post if the page you are calling has post variables , or get if it has get variables :)

Member Avatar for cereal
0
415
Member Avatar for jkulp4

Hi All, I am very new to PHP and still learning lots... :) I am using the below code to populate a drop down list from my database. But I am not sure how to display/send the results back to the same page. The fields in my Database are: Base, …

Member Avatar for jkulp4
0
105
Member Avatar for swissknife007

I have been trying to send email for 2 days. using php I have tried different methods but to no avail . I am sure I am making some small mistake. Please can someone give step by step procedure of sending mail using Xampp?

Member Avatar for pritaeas
0
223
Member Avatar for labise

[CODE] <html> <head> <title>search</title> </head> <body> <form name="frmSearch" method="get" action="<?=$_SERVER['SCRIPT_NAME'];?>"> <table width="599" border="1"> <tr> <th>Keyword <input name="txtKeyword" type="text" id="txtKeyword" value="<?=$_GET["txtKeyword"];?>"> <input type="submit" value="Search"></th> </tr> </table> </form> <? if($_GET["txtKeyword"] != "") { $objConnect = mysql_connect("localhost","lafamosa_kermis","lafamosa1980") or die(mysql_error()); $objDB = mysql_select_db("lafamosa_mystore"); // Search By Name or Email $strSQL = "SELECT * FROM …

Member Avatar for pritaeas
0
215
Member Avatar for vijaykavin10

Hi everyone I am using IMAP to retrive msg from the mail.I need to know about how can we split up the readed and unreaded mail regardingly.For example we need to fetch only the unread mails how can we do this... Thanks

Member Avatar for pritaeas
0
72
Member Avatar for atikah8890

Hi all. It's been a while since I last worked with PHP. Hope someone can help me with this, because a few things aren't working :( First thing first. I'm doing an expense tracking system. User will be able to track their spendings according to month and year. Since it's …

Member Avatar for atikah8890
0
103
Member Avatar for RMelnikas

Hi, Don't know if this is the right part of the forum. (please move if incorrect) My Question is about E-Commerce, I am experienced in web development but have been recently asked to make a client a E-Commerce website where they could sell their goods. They are wanting something customisable …

Member Avatar for rotten69
0
162
Member Avatar for qball_irl

Hello Everyone, This is my first post and im sure this community can help. [B]Issue:[/B]I'm trying to create an authentication script for the first time, I am inserting Data into a table and trying to retrieve it again on the same page but instead of retrieving the latest id it …

Member Avatar for qball_irl
0
111
Member Avatar for ddellostritto

Hi all - I'm starting out as a designer and have some knowledge in php development. I've designed a registration system for my company and we've had 3 people that have had problems out of 73 successes - 4.1% (Problems meaning that they registered but the data just didn't get …

Member Avatar for pritaeas
0
192
Member Avatar for karthik_ppts

How to do site search in a website? for example if we search a keyword in search box of the daniweb it will give the result from daniweb site only. like that i want to do in my website.

Member Avatar for karthik_ppts
0
120
Member Avatar for trektrak

Anyone tried this before ? [URL="http://http://smssync.ushahidi.com/"]http://smssync.ushahidi.com/[/URL] I've tried the given php sample...but it's not working ... False payload something....

Member Avatar for rotten69
0
76
Member Avatar for polinolin

I want to create a php-based electronic voting using RSA encryption. anyone can love advice, what what wrote that should be encrypted so that e-voting run safely. Thanks mate! :$

0
66
Member Avatar for BKoehler

I am having an issue. I keep getting the following error: [B]Parse error: syntax error, unexpected T_STRING in C:\xampp\htdocs\test\banners\banner1.jpg on line 1[/B]. What I am trying to do is dynamically not only change content, but change a banner in the header section of code to correspond with the content. My …

Member Avatar for qazplm114477
0
303

The End.