39,316 Topics

Member Avatar for
Member Avatar for zlloyd1

I have recently been getting a parse error that reads : Parse error: parse error in C:\wamp\www\Jumble.php on line 20 Anytime I run an HTML program on my wamp server and it is regarding a php file called Jumble.php which is supposed to arrange the data entered into the HTML …

Member Avatar for Dragonbaki
0
171
Member Avatar for jegana

Hi I'm new in php.I have created a Form to insert data into the database its working fine. The other is to show all records from the database its too fine. I don't know where to start, Want i want is to edit one record at a time when i …

Member Avatar for Dragonbaki
0
207
Member Avatar for showman13

OK, I know this subject has been covered extensively, and I have read numerous threads on this and other forums. Problem is that the more I read, the more confused I got. I would simply like to know, for my particular application, what is the best way to handle the …

Member Avatar for macobex
0
142
Member Avatar for Obsidian_496

There are function and class templates in C++. They can operate with generic data types. There's some ifnormation on it. [URL="http://www.cplusplus.com/doc/tutorial/templates/"]http://www.cplusplus.com/doc/tutori al/templates/[/URL] This is a compile-able example from the site linked above: [CODE] #include <iostream> #include <conio.h> template <class T> T GetMax (T a, T b) { T result; result …

Member Avatar for macobex
0
127
Member Avatar for DDRmedia

We have an oscommerce cart installed on a client's site. It uses authorize.net, and clients are seeing an error after submitting their order. The order however is going through. This is the error: Warning: Cannot modify header information - headers already sent by (output started at /home/altovine/public_html/oscommerce/includes/modules/payment/authorizenet_aim.php:921) in /home/altovine/public_html/oscommerce/includes/functions/general.php on …

0
80
Member Avatar for ibeginphp

Hi all, Thanks in advance. I am writing this in great detail. So dont panic looking at the length of this message. I have a page called retrievefieldex11.29.2.56.php. Fields that need to be considered for this problem here is the ID field (name = usersubmit) the Key(name = key) field. …

Member Avatar for ibeginphp
0
82
Member Avatar for dan1992

How can I make a timer that counts down from 60 seconds and after that directs me to another page Please help me Thank you ! :)

Member Avatar for R0bb0b
0
64
Member Avatar for arctushar

Hello sir(s) I m having problem with " and ' in my contect. say I hav submitted below sentence to save in mysql [B]my father's boss told me " you can join our company".[/B] I used [B]mysql_real_escape_string() [/B]. when I retriev from sql data. It shows [B]my father'\s boss told …

Member Avatar for R0bb0b
0
59
Member Avatar for nduarte

I was recently posting information and using $_GET to move between pages. However, becasue of security concerns, I have to change this. How do you pass a SESSION variable to a new page from an array. Here is what I used to have [CODE=PHP] while($data = mysql_fetch_array($result)) { echo '<a …

Member Avatar for Will Gresham
0
2K
Member Avatar for Roriomphe

Hi I'm new in php.I have created a Form to insert data into the database its worrking fine.The other is to show all records from the database in table form with Edit/Delete link in the end of each record its fine and I can delete a record but i have …

Member Avatar for cossay
0
121
Member Avatar for sickpuppy18

hello I'm trying to figure out how to compute the difference between 2 dates excluding weekends.I browsed the web on how to compute the difference between two dates and i somehow was able to understand it but i could not figure out how to compute the difference if I do …

Member Avatar for sickpuppy18
0
2K
Member Avatar for elrayyes

I have quite an issue in creating a multi level menu in php by extracting the category details for the menu from the product database. My table was created as follows: [code=php] CREATE TABLE products ( id int(11) unsigned NULL auto_increment, pid varchar(100) NULL default'', description text NULL default '', …

Member Avatar for diafol
0
505
Member Avatar for ddellostritto

Hi All. I am building a project assuming that there is a mehtod for intercepting incoming and outgoing mail from a mailserver. If it is not possible please let me know, I am new working with mail servers, so any material that you could provide would be greatly appreciated. I …

0
57
Member Avatar for ddellostritto

Hello All - I need some help. I've got a page that lists events (fairs, seminars, etc.) that have been registered by the user, I would like to find a solution that will list these events and next to them include the number of people that have registered to attend …

Member Avatar for ddellostritto
0
60
Member Avatar for puvi

Hi, i am new to php and i have lots of doubts since i'm learning it on my own, any help/advice/suggestion is very much appreciated. i have gone through many threads, but they dont answer to what i'm seeking. if i missed any thread which answers to the point, please …

Member Avatar for puvi
0
2K
Member Avatar for ankit.pandey3

[CODE] <?php require_once('upper.php'); if(isset($_POST['submit'])) { //This is code in which we can choose the type and size file uploaded or upload anything. We can declare the path of folder or can do without it. if($_FILES['uploaded_file']['size']< 200000) { /*if($_FILES['uploaded_file']['error']>0) { echo "Error occurs".$_FILES['up_test']['error']."<br/>"; } else{*/ $Title=$_POST['Title']; $City=$_POST['City']; $Content=$_POST['Content']; $Date=$_POST['Date']; echo "Uploaded …

Member Avatar for madCoder
0
153
Member Avatar for logicslab

Hi Friends, I am come with a new query in jQuery. I have a listing form in which the details showed , the View more Details is implemented using Ajax. When Click "+" sign there is a loading image show First then the Result show there ... It's all working …

Member Avatar for @developer
0
170
Member Avatar for CEVGames

This is pretty detailed, but here goes. I have a user registration/log in system in place. I have no issues at all registering users or logging them in. My database contains 5 tables. As follows usersystem [INDENT]Fields: username password email total qid[/INDENT] q1 [INDENT]Fields: username answer rank value[/INDENT] Tables q2 …

Member Avatar for CEVGames
0
152
Member Avatar for kiranking

Testing only one character of first alphabet of kannada [URL="http://tlt.its.psu.edu/suggestions/international/bylanguage/kannadachart.html"][B]ಅ[/B][/URL]. function htmlentities is not returning &# 3205 Here is my complete code. [CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>UTF8 to HTML Entity</title> </head> <body> <?php $str = '&# 3205;'; // remove space in …

0
77
Member Avatar for jkon

Hello all, This isn’t a strictly MySQL issue, it has to do also with PHP Apache and cPanel but I believe the core is MySQL so I decided to post it here. Recently I had a SQLSTATE[08004] [1040] Too many connections issue. I use PHP PDO for the connection and …

Member Avatar for Kraai
0
1K
Member Avatar for orcaraheel

I get the value in the database and click on the id field how i past(get ) this field to other location can anyone help me

Member Avatar for cossay
0
97
Member Avatar for chris evans

Hi guys! I have a website in PHP that runs centered of the browser. i want to design it such that it covers the whole page of the browser e.g. ([url]www.gmail.com[/url]). Does anyone have any templates or links that can help me out on this one?

Member Avatar for nonshatter
0
89
Member Avatar for Venugopal Ravi

Hi I want to download a zip file (xml file in zip - size more than 50mb) which is in another website to my server using PHP scripting. That particular file is updating daily in that site, so i need it to download and use it daily basis. any help …

Member Avatar for nonshatter
0
206
Member Avatar for pius12

pls can anybody helpme with smtp ip and password or php inbox mailer i we be greatful ,here is my email [removed]

Member Avatar for Dragonbaki
-1
39
Member Avatar for ankit.pandey3

[CODE]<?php if(isset($_POST['ActivityId'])) { require_once('database.php'); $Search=$_POST['Search']; $query="select * from registration where Flag='A' AND Activity like '%,$Search,%'"; $result=mysqli_query($dbc,$query) or die('Not Connected'); while($row=mysqli_fetch_array($result)) { echo "<table border='2'><tr><td> Name--".$row['Name']."</td> <td>Contact Number--".$row['ContactNumber']."</td> <td>Email--".$row['Email']."</td> <td>Address--".$row['Address']."</td></tr></table>"; } } elseif(isset($_POST['EventId'])){ require_once('database.php'); $Search=$_POST['Search']; $query="select * from participation where EventId ='$Search'"; $result=mysqli_query($dbc,$query) or die('Not Connected'); while($row=mysqli_fetch_array($result)){ $LoginId= $row['LoginId']; echo $LoginId;} …

Member Avatar for vibhaJ
0
123
Member Avatar for soundboy5010

Hey all, I have an auto refresh script i use on my site which is below... [CODE] <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.0/jquery.min.js"></script> <script type="text/javascript"> var auto_refresh = setInterval( function () { $('#load_tumblr').load('tumblr_blog.php').fadeIn("slow"); }, 5000); </script> <div id='load_tumblr'>Loading...</div>[/CODE] Im wondering if i would be able to have an option for users to turn …

Member Avatar for soundboy5010
0
124
Member Avatar for dennishall

Hi: I'm trying to pass infromation from an input text field to a php script when the submit button is clicked. [B]Does anyone have a snippet of the AS2 and PHP that would achieve this?[/B] My overall objective to to query a single DB table with the information and I …

Member Avatar for rajarajan2017
0
121
Member Avatar for vivi288

Hello, a quick question. If you have a PHP dynamic dropdown menu (that autopopulates with info from a mysql table), then the menu automatically links to its values, i.e. "page.php?value1=value1", correct? If you have two dropdown menus, then it becomes "page.php?value1=value1&value2=value2". Is there any way to make the dropdowns link …

Member Avatar for vivi288
0
230
Member Avatar for balle

I'm making a page views script. I kinda need help with making the database making it +1 each view. This is my current code: [CODE] mysql_query("UPADTE posts SET views=+1 id='$start'"); [/CODE]

Member Avatar for mschroeder
0
81
Member Avatar for lit108

I have a php script running which is checking that information in a form has been entered and that the form hasn't been by passed however when submit is clicked and the script is run I get the last error message saying 'You must complete the form' even though the …

Member Avatar for cossay
0
181

The End.