39,320 Topics

Member Avatar for
Member Avatar for Hani1991

Hello every one whats the difference between mysql_.... and mysqli_.... functions in PHP??? Arent they both for mysql???

Member Avatar for Hani1991
0
232
Member Avatar for divyakrishnan

Hi. I have a page to send SMS.For that I am linking a third party page using header function.But I could not return to my home page after redirecting that page.I could not have the privilege to edit that third party page.How will I return to my home page after …

Member Avatar for abhi10kumar
0
113
Member Avatar for daryll1

I am attempting to dump a portion of my table after 7 days. This table will hold access logs so will fill up pretty quickly. I'm not too sure if this is entirely possible but this is what I'm trying to use. Any help or a push in the right …

Member Avatar for samanthakumara
0
215
Member Avatar for furqankhyraj

can any body tell what is going to wrong with this syntax [CODE] echo '<div> <a href=' ".$path.$i.$s.$ext." '> . <img src=' ".$path.$i.$ext." '> </div>';[/CODE] Please Help

Member Avatar for divyakrishnan
0
110
Member Avatar for jacksantho

Hi, Please help me out, i am facing this following error: [B]Fatal error: Maximum execution time of 60 seconds exceeded in C:\xampp\htdocs\timetable\exceldownload.php on line 172[/B] How to rectify this error?

Member Avatar for Hummdis
0
6K
Member Avatar for aplwong

Hi there, I need to implement a pre-sales and post-sales shopping cart in a single web site. The idea is a salesman have to first order some pre-sales material and product before he or she can do the actually sales. Once he/she did that , then they can contact customer(s) …

0
65
Member Avatar for hodgey87

I apologise in advance i know this has been done to death but i cant find an answer. im currently getting this error: [QUOTE] Warning: Cannot modify header information - headers already sent by (output started at /home/sites/test.com/public_html/index.php:9) in /home/sites/test.com/public_html/login.php on line 5[/QUOTE] my index file is as so: [CODE]<?php …

Member Avatar for hari.sarvothama
0
359
Member Avatar for cliffcc

How to do checking before importing the csv file by php? I have a csv file which contains the information with the columns (id, name, telephone , email) and have the database with the same columns. I have the php file which can import the csv into the database. Now,i …

Member Avatar for cliffcc
0
3K
Member Avatar for neocyb

I'm using mootools-core-1.3.2.js to hide/show a div tag. Now what I want to do is : * slide the div tag away (done and works); * get the value from the "horizontal_status" and put in in PHP var to toggle something else Here's the javascript code: [CODE] <script type="text/javascript"> window.addEvent('domready', …

Member Avatar for neocyb
0
266
Member Avatar for abhi10kumar

I have a page with three different modules (I am including) and I am using session to store values in sessions. I am using Jquery, where user clicks on link, a pop-up form appears and user have to fill some information like email, phone, after filling a code will send …

Member Avatar for ko ko
0
86
Member Avatar for abhi10kumar

I have form that getting values from query string and I have a form. On submission I have to show messages into the same page and I have two FORMs. Is there any possibility using AJAX, if yes then How ? I have two FORMs.

Member Avatar for diafol
0
248
Member Avatar for jakizak

Hi everyone, Got two mind-puzzling questions for you tha I have been pondering over for the best part of a day now. Q1: Is it possible to have a PHP variable in the name of a function, as in [CODE] Function $variable () { function code here } [/CODE] or …

Member Avatar for diafol
0
113
Member Avatar for rajeesh_rsn

Hi, I m a php coder and I likes Joomla , Codeinniter etc... Now I got a freelance project like this ([url]http://www.indiaglitz.com/channels/malayalam/[/url]) Which need an admin Portal , daily updates and a small discussion forum etc .... I m bit confused with which is the best framework or CMS best …

0
78
Member Avatar for tonyl09

I have a PHP/mysql form that occasionally fails. The particular piece that fails is: [CODE]// Existing email address - update record with latest info and save prior data in history field. $result = mysql_query("REPLACE INTO $userstable VALUES('$ID','$cur_date','$download','$email','$assist','$emailcontactname','$emailcontactphone','$group_size','$zipcode','$how_find', '$specialty','$comments','$userinfo','$history', '$countdownload', '$countday', '$autocountemail')",$db) or die ("<center><h3>Unable to update the data in row. …

Member Avatar for tonyl09
0
105
Member Avatar for john0563

I know by default you can not use an absolute path when using fopen and mkdir, but in my case I really need to specify the exact location of the files/directories. I KNOW there must be some workaround way to do this... does anyone know how? For example, here is …

Member Avatar for ghazanfar381
0
2K
Member Avatar for Espenij

Hi, I am upgrading from php4 to php5 and get this error message when i go live : "Notice: Undefined variable: eff in /home/test5/www/includes/lanekalkulator.php on line 226 %) " Code: [CODE]<br /> <div style='margin-top: 5px;'>= <span style='font-weight:bold;font-size:18px;'><?php echo ceil($resultat2); ?></span> kr,- pr. mÃ¥ned <em><span style='font-size: 11px'>(nom. rente 11.9% og eff. …

Member Avatar for Espenij
0
140
Member Avatar for newbie14

Dear All, I got a page here [url]http://183.78.169.53/tyre2/page2.html[/url]. For now is static but I will be reading from the database and form something like this dynamically. The problem as I read the value from db I would also read the said ID value. How to enable the ID to appear …

Member Avatar for Some-Jackass
0
71
Member Avatar for saadi06

Hi, I am having a problem in paypal integration.I have integrated the paypal payment method successfully but the values are inserted in the database when the user returns from the paypal back to the website.I need to make a script that when the payment occurs the values are returned to …

Member Avatar for saadi06
0
158
Member Avatar for decade

Hello guys, I'm new to programming especially in php. i would like to know how to use the substr() in this kind of problem. problem: I have this string. $stringA = "Hello to all of you!" output should be this: "Hello to ..." I try to use the substr how …

Member Avatar for tnjiric
0
136
Member Avatar for vaultdweller123

hey guys anyone here know how to change the default menu icon of component in joomla? currently it's using the box icon :(

0
78
Member Avatar for lloydsbackyard

in my address bar...i have this... [url]http://localhost/studentaccount/subject_infos/edit.php?subj_id=CS106[/url] the next step is to click update button...for update of records... how do i change it to, [url]http://localhost/studentaccount/subject_infos/edit.php?update=true[/url] or simple remove the subj_id=CS106 to come up with [url]http://localhost/studentaccount/subject_infos/edit.php?[/url] my part of my code is: if (isset($_POST['update'])) { echo "successfully updated!"; //code for removing …

Member Avatar for lloydsbackyard
0
123
Member Avatar for wfray

I've developed a few systems in a PHP-5.3.3 development environment. I'm now implementing them on an iPage host site. Their PHP level is 5.2.12. Two problems occur on their site. (1) when my code [code=php]if (session_id() == "") session_start;[/code] executes on their site it fails. It works fine on my …

Member Avatar for Shanti C
0
87
Member Avatar for cuonic

Hello there, Htaccess stuff not being one of my strong points, I'm asking if anyone knows about how to use the rewrite engine to provide the following : I currently have : [code]http://www.example.com/?page=home[/code] I would like to have : [code]http://www.example.com/home[/code] I think this is possible, because it used by Joomla …

Member Avatar for arosemena
0
119
Member Avatar for Hani1991

Hello everybody I want to avoid the errors that occur when I post a text that contain the ' sign and put it in a mysql query someone told me that theres a function in php to do that but I want to use it manually because he told me …

Member Avatar for Pro2000
0
108
Member Avatar for jrotunda85

I'm trying to figure out the best way to accomplish the computation of weighted averages for my site. Here's the PHP that pulls down the results -- [CODE]$SQL = "SELECT a.*, b.CName, c.Description FROM humidor a LEFT JOIN cigar b on a.CigarID = b.CigarID LEFT JOIN cd_manufacturer c on b.Manufacturer …

Member Avatar for jrotunda85
0
114
Member Avatar for soapyillusion

Hey everyone I just started using a new hosting service called 1and1 all the normal pages are going fine that use the simple html extension. However one of my php pages that uses the session_start() and header() functions isnt working correctly and I get an error. Now I know an …

Member Avatar for soapyillusion
0
124
Member Avatar for Acids

I am making a wordpress plugin but I am having difficulty accessing the results from an array in a function Radio Box: [CODE] <!-- First radio button --> <label><input name="posk_options[radio_group_two]" type="radio" value="satellite" <?php checked('satellite', $options['RADIO_GROUP']); ?> /> Satellite</label><br /> <!-- Second radio button --> <label><input name="posk_options[radio_group_two]" type="radio" value="hybrid" <?php checked('hybrid', …

Member Avatar for ddymacek
0
130
Member Avatar for heshanm

Hi, I am creating reports in my project using [B]TCPDF[/B]. I want to get the reports on a daily basis. For an example if there are 10 transactions occurred in a day, i want to display them in a report format. These are the 2 pages that i have created. …

Member Avatar for pritaeas
0
140
Member Avatar for eltonpiko

hi does anybody know a free sms api that i can integrate in a web app.will need to take text from a database and the selected phone number from the database and send it via sms.iv heard about google voice sms option but it doest say much of if you …

Member Avatar for eltonpiko
0
129
Member Avatar for zizuno

I am planning on writing a website that retrieves information from websites that require logins. Originally my intention was to AJAX most of it so I could provide the information in nearly realtime but the problem lies in browsers not allowing cross domain requests. So I considered YQL but then …

0
48

The End.