39,320 Topics

Member Avatar for
Member Avatar for aaronmk2

I checked my php.ini file and there is no ; in front of extension=php_mysql.dll or extension=php_mysqli.dll. I think the I am getting this error because my figuration File (php.ini) Path is C:\Windows. How would I change it to C:\Apache2.2\php\php.ini? Also, once I have done this do I need to recompile …

Member Avatar for aaronmk2
0
174
Member Avatar for karthik_ppts

Hi Frendz, [INDENT]How to convert the direction in degrees to normal directions(North,East..) in php[/INDENT]

Member Avatar for karthik_ppts
0
223
Member Avatar for samsons17

hi..I am wanted to use the anchor() tag which is one of the url helper in codeigniter for the div. [B] Below is the code which i want to convert into the codeigniter form :[/B] [CODE] <a href="events/page/<?php echo $id; ?>"> <div class="title_row" id="<?php echo $id; ?>"> <div class="content" > …

Member Avatar for jigarvyas
0
5K
Member Avatar for rpv_sen

Hi Friends Pls help me, i have posted the code below, i am trying to multiply 2 text box values from thisqty and prate and final value has to be show in thisamt text box, and also i have attachment the screen shot [CODE]<form method="post" action="#" enctype="multipart/form-data" name="billing"> <table width="1000" …

Member Avatar for rpv_sen
0
294
Member Avatar for kokfui

hi, all,i having code as below and the output is in the picture below as well <?php require_once("includes/session.php"); ?> <?php require_once("includes/connection.php"); ?> <?php require_once("includes/functions.php"); ?> <?php confirm_logged_in(); ?> <?php find_selected_item(); ?> <?php include("includes/header.php"); ?> <table id="structure"> <tr> <div class="menu"> <ul> <?php echo navigation($sel_cat, $sel_item); ?> </ul> </div> <td id="item"> <?php …

Member Avatar for stanley87
0
203
Member Avatar for emily-bcot

Hi, I'm new to php oop. In our system when creating a new user, user's role can be assigned by selecting from the role dropdown list. Here, there are two classes, one is user class, another is role class. and user class use role class which is composition relationship. I …

Member Avatar for minitauros
0
173
Member Avatar for d4n1s

Well I am using the image functions to draw pixels on an image file using PHP. The problem is that when for instance I draw a black pixel and right next to it a white pixel and than again a black pixel the white pixel will get faded! It will …

Member Avatar for metalix
0
195
Member Avatar for jacob21

SELECT DISTINCT City FROM Persons this query is for finding distinct(different) value. how to find duplicate values which are not find by Distinct query.i.e repetitive(duplicate) values.

Member Avatar for metalix
0
100
Member Avatar for monta2020

Dear Guys, i have Created a Table using Php and when i inters much data on it (Address or History of some subjects), it will make the table toooo large in size which's unneeded .. i need to manage the width of my table eeven if i enter lots of …

Member Avatar for metalix
0
135
Member Avatar for 68thorby68

I have a simple database with 3 columns: id, event_date, event_name I have 9 rows in the database id event_date event_name 1 2010-01-17 Food 17th 2 2010-01-17 Bar 17th 3 2010-01-17 Football 17th 4 2010-01-18 Food 18th 5 2010-01-18 Bar 18th 6 2010-01-18 Football 18th 7 2010-01-19 Food 19th 8 …

Member Avatar for james_horn165
0
138
Member Avatar for ayesha789

I saved the link refrence in Databse like /PEDB/SupportDoc/5/PRFF or0444.pdf and used [ICODE]<a href=".$r1[10]." target=_blank>View</a>[/ICODE] to show the documents but when I click on view its not showing document because link break where space put in and show blank in explorer like /PEDB/SupportDoc/5/PRFF

Member Avatar for ayesha789
0
176
Member Avatar for didi00

Hi everyone! I want to send cyrillic letters with php, but it is not possible because php doesn't allow it. So, how do I covert the letters so that they could be sent. [CODE] <?php if (comments_open ()) : ?> <div class="comment block" id="respond"> <div class="holder"> <h2><?php comment_form_title('[B]Остави коментар[/B]', 'Leave …

Member Avatar for didi00
0
213
Member Avatar for carebear23

I am trying to get information from my database that contains a foreign key that relate to another table, I am trying to enter details of an order and then have the customer ID of that order enter automatically from the customer table. [CODE] [B]Customer Table [/B] CREATE TABLE IF …

Member Avatar for markdh
0
108
Member Avatar for phplover

Hi, I have a fully pledged membership system and want to integrate my own user referral system but want some tips, advice really on the logic of it. Basically already registered users on my site will have the option to refer people, only registered users. I will try to explain …

Member Avatar for jkon
-1
5K
Member Avatar for bngy

Hi, I've written a simple IRC bot. but I have some problems, can you please help? #1 How to list all users on a channel? #2 How to get if a command/message sent by an op or not? Same with halfop/voice/owner? #3 How to get who sent the command/message (by …

Member Avatar for jkon
0
125
Member Avatar for phpDave

Hi! Anyone know of a good tutorial for allowing users to "upload video files". I am familiar with uploading scripts for images but never worked with videos.

Member Avatar for diafol
0
59
Member Avatar for agrothe

A friend of my recently asked me to help him set up a web based radio. Upon doing some research I found he has only original content (not copy right stuff), all static mp3 files, not live talk, and wants to loop the audio. I've found sites like radionomy and …

Member Avatar for Kraai
1
231
Member Avatar for preston326

Hello, I'm working on a BB game and I have a question about its performance. Let's say I have 1000 users and using cronjobs every 15mins I [I]update user set ore=ore+'20';[/I] and every hour I [I]update user set turns='20';[/I] Will this have any [B]significant[/B] effect on the performance of my …

Member Avatar for chrishea
0
82
Member Avatar for itisnot_me

ok so i am trying to find any href that has a css file in it and append a template directory to the beginning while keeping intact this is what i have to begin with [CODE] preg_replace('/href=(?:")[^A-Za-z0-9].css/', 'href="'.$dir.$template.'/[^A-Za-z0-9].css', $content); [/CODE] i dont think that i am doing this right cause …

Member Avatar for hielo
0
103
Member Avatar for ebanbury

Hi Hoping someone has some experience with this. I have an insert record which works perfectly, until I try and encrypt the passwords and set the date to NOW() When I submit the form - the form does not complete successfully, however a record of some kind is inserted into …

Member Avatar for tiggsy
0
122
Member Avatar for Joshua Kidd

Hey Guys, I need some help with Deleting data from a MySQL . Currently I have, Two PHP files. the First is the main page. [CODE]<?php $host=""; $username=""; $password=""; $db_name=""; $tbl_name=""; mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select DB"); $sql="SELECT * FROM $tbl_name"; $result=mysql_query($sql); ?> <p>This Page Refreshes Every …

Member Avatar for karthik_ppts
0
137
Member Avatar for ivan3510

I used [URL="http://www.ibm.com/developerworks/library/os-php-v525/index.html"]this[/URL] page for making upload progress bar. I downloaded it and uploaded it to the server (you can see it [URL="http://latinus.herobo.com/proba/progress.php"]here[/URL]), and I signed up to Google Maps API and I pasted the code, but it doesn't work. It uploads the file, but it doesn't write the upload …

Member Avatar for ivan3510
0
360
Member Avatar for branding4you

I have dropdown on Enquiry page, some text boxes etc with a capthca below and submit button I used this code for my text boxes [CODE]<input name="fld_name" type="text" id="fld_name" size="40" value="<?php if($_POST['fld_name']) { echo $_POST['fld_name']; } ?>" /> [/CODE] it keeps the data in the textboxes when the user does …

Member Avatar for branding4you
0
351
Member Avatar for doctorphp

Hi everyone. I have made a mailing list script but I want to modify it so that I can post some variables in the message box. I would like something like this. [ATTACH]20604[/ATTACH] To display something like this. [ATTACH]20605[/ATTACH] I have tried putting [CODE]' . $fetch['first'] . '[/CODE] and [CODE]$fetch['first'][/CODE] …

Member Avatar for doctorphp
0
1K
Member Avatar for hellojohnatan

Hi guys, I would like to have an online user counter on my webpage. However, I don't want my visitors to see how many users that are in my website. I am already using good analytics but it is not giving me real time data. But how can I see …

Member Avatar for minitauros
0
137
Member Avatar for thijscream

hey, i'm trying to make a pdf, but i get the following error: 1temp/KW1.pdfError!! as you can see in the code i echo the $factuurnummer, that's the 1 in the error, then i echo the patth it should go to what is temp/wk1.pdf and then i echo the error. does …

Member Avatar for squinx22
0
161
Member Avatar for Xaibo

Hi guys! I´m really new to PHP, but i'm involved in a small project. But i'm having an issue with the mail form. It was working, but as the user refreshed the page it would send the values of the variables again and again... First i managed to auto refresh …

Member Avatar for squinx22
0
333
Member Avatar for turt2live

Hello, I have a PayPal button that uses a submit button to pay, but I have a small problem with it. The client I'm making this for also wants tracking (Hits). Is it possible to have the submit button also run a javascript before going to paypal? If you need …

Member Avatar for turt2live
0
158
Member Avatar for AndreRet

I have been stuck on this for 2 days now. There were a ton of code available, but not one working solution. Below is my code to send the mail once a user requested a service at an auto repair shop. It updates mysql with all of the data and …

Member Avatar for AndreRet
0
272
Member Avatar for ROTC89

Hi, i am try to display and insert info on a person into my database but i keep getting this error whenever i enter the info You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use …

Member Avatar for vibhaJ
0
194

The End.