39,316 Topics

Member Avatar for
Member Avatar for ravisen
Member Avatar for cwarn23
0
32
Member Avatar for scias23

what are the three kinds of php functions? is it functions with params, function without it? what?

Member Avatar for cwarn23
0
67
Member Avatar for betatype

I know this is a somewhat strange request and is probably not feasable, but I thought I would ask anyway :) I have a form, and on the final page of the form it displays all of the results of the user's entries. The problem is some of these results …

Member Avatar for cwarn23
0
126
Member Avatar for valonesal

What I am trying to achieve is to have a line text change when a page is refreshed or at a set interval like every 15 seconds. I know this is easy with javascript but I really don't want to use javascript. I wrote a simple snippet that does this …

Member Avatar for cwarn23
0
110
Member Avatar for 68thorby68

I am creating and sending a vcard as an email attachment using MIME. The .vcf file creates OK on the server, however when the email is delivered, the attached .vcf file contains no data, as read by outlook and outlook express (data exists in server file). I'm hoping the error …

Member Avatar for digital-ether
0
94
Member Avatar for sarithak

Hi frnds.. I have to do Forum 4 my website.... It looks like [CODE]forums.digitalpoint.com www.nagfans.com [/CODE] By using which forums???

Member Avatar for cwarn23
0
2K
Member Avatar for Zack_G

Hi, I am trying to find the sum of product's weight and can't seam to find anything that can help. I have included my code snippet below. $totalweight = 0; foreach($_SESSION['ddc']['productsincart'] as $key => $value) { $sql = "SELECT * FROM ddcart_products WHERE id = '".$key."'"; $result = mysql_query($sql); $data …

Member Avatar for digital-ether
0
109
Member Avatar for Aamit

Hi, I want to find random string between main string. Suppose [COLOR="Green"]$string="Sign up for Facebook to connect with Jean Profession";[/COLOR] I want do that .. [COLOR="Red"] random word who having length greater than 4 and word not equal to Facebook.[/COLOR] How to do this??

Member Avatar for cwarn23
0
129
Member Avatar for hooray

I have been trying to use the function is_null to see if a database value is NULL. When I run this I am looking at the database and the value is definitely NULL, but it is not re-directing to the error.php page. What have I done wrong?? Thanks Guys :-) …

Member Avatar for somedude3488
0
137
Member Avatar for Antun

Hi all, i need some help. I am creating mysql php game. How can make game to know which user is logged . I am not absolute noob. I already created register, login and main page, and its all linked with database. Problem is when user need to use his …

Member Avatar for Antun
0
98
Member Avatar for jay_412

hey guys,, im newbie to stored procedure,,im using the localhost server now,I would like to ask if where to put the stored procedure in my phpmyadmin?Is it from information schema?or in the tables?

Member Avatar for darkagn
0
196
Member Avatar for francis123

Hi everyone, I am having 2 php file to run with cron job, the first to run every hour and the second to run every 12pm midnight. I am using cPanel and this is the cron job. i put this in the command to run tex field of the advance …

Member Avatar for francis123
0
93
Member Avatar for davidjennings

Hi all, I am new to PHP Do I need to sanitize hidden data values in a form before carrying out the query on MySQL db. If so can someone assist me in the correct format The category_id is an INT and the make is a String. $category_id=$_POST['category_id']; $make=$_POST['make']; Also …

Member Avatar for davidjennings
0
150
Member Avatar for coolmind259

Hi There, I am using a Freelance script namely Kubelance. In this script I want to use an Paypal API which enables a user to transfer the fund without leaving a site. Can anyone guide me how to do it? Your help in this matter will be highly appreciated. Take …

Member Avatar for coolmind259
0
100
Member Avatar for 2bulent2

hello i made page with a form to insert data to the mysql database (with copy paste as i started learning yesterday) it works i put the code in a div i want to add a delete link for the records listed but it doesnt work in echo. how can …

Member Avatar for cwarn23
0
67
Member Avatar for veledrom

Hi, I will be using Ubuntu first time for PHP and want to sure that i use a php editor with debugging feature because, i want to see the mistakes at same time. What do you preferr and how can i install it? [code]sudo get-apt install ....[/code] Thanks

Member Avatar for iamthwee
0
64
Member Avatar for valonesal

What I would like to do is return a basic text message if no results are returned from my database. Using the following code can someone tell me how I can accomplish this. Please excuse the code if its sloppy, Im a beginner at php. [CODE]<?php // create short variable …

Member Avatar for valonesal
0
140
Member Avatar for becraig

I am trying to set a page for logout from a service I use but need to kill the $_REQUEST['login']provided by that service so my logout and redirect works. I have tried the following with no luck [code] unset ($_REQUEST['login]'); header ("Location: http://www.mysite.com/mypage.php"); [/code] There has to be some way …

Member Avatar for somedude3488
0
2K
Member Avatar for baudday

I would really appreciate help here. I think I'm just missing something small but I just can't figure it out. I have 2 questions about the following code: [CODE=php] <? if(isset($_POST['download'])) { $x = 0; $download_path = dirname(__FILE__).'/'; echo "<b>Downloading from $download_path:</b><br />"; $file = array(); while($x <= $_POST['download']) { …

Member Avatar for baudday
0
126
Member Avatar for veledrom

Hi, What is the difference between installing Wampserver and Tomcat Apache? Wampserver installs : PHP, MySQL, Apache Server Tomcat Apache: Does it only installs Apache Server? If yes i probably manually install PHP and MySQL too. Thanks

Member Avatar for ShawnCplus
0
122
Member Avatar for andym67

This is driving me crazy and should be very easy. I am trying to pre-fill an html form with session data using echo. I can compile and run but the form field contains a / if the session data is blank. How can I get rid of the / Heres …

Member Avatar for andym67
0
17K
Member Avatar for mstrlouis

I am trying to link one variable in the search results to its corresponding variable which is in the same row but on a different field result. For Example [B]title || lyrics[/B] father || am i so proud to be your son... If I search for father, I get father …

Member Avatar for cwarn23
0
130
Member Avatar for 68thorby68

I'm experiencing alot of issues trying to create the $to field as a variable, PHP is reporting Parse error: syntax error, unexpected T_VARIABLE, expecting T_FUNCTION in /home/shhdcouk/public_html/PHP/class_vcard.php on line 172 and I'm not sure why.... my code is. $send = $_POST['email1']; $to = $send; $subject = "Registered for xxxx"; $body="Thank …

Member Avatar for 68thorby68
0
90
Member Avatar for aashishn86

hi all i have been using ASP... I basically wanna learn PHP and Drupal now.... I tried installing WAMPSERVER ..... I have got it installed , but i can't make it run... i already have IIS installed on my computer.. i changed this in the httpd.conf file [COLOR="Red"]Listen 8080 ServerName …

Member Avatar for aashishn86
0
240
Member Avatar for webdevelop
Member Avatar for AdventDeo

Ok so here's a part of the php file I'm using. There's already a toggle_it() function to show/hide rows, tables, anything. But now what I want to do is when the user clicks the link "add more", I want to show the hidden row AND hide that "add more" link. …

Member Avatar for almostbob
0
119
Member Avatar for valonesal

What I would like to do is have an area of my site where visitors can verify if a domain is registered through us. So basically we would manually ad the website names to a text list and would like the script to check the list and if the website …

Member Avatar for Will Gresham
0
71
Member Avatar for Reliable

I'm learning PHP & MySQL. While trying to folllow a tutorial I am not getting the erxpected result which is simply to retrieve a little data out of a table with a query. Here is my PHP code: [CODE=php]<?php //1. Create a database connection $connection = mysql_connect("localhost", "kingdomc_mtech", "busine$$"); if …

Member Avatar for almostbob
0
102
Member Avatar for dthatsme33

I'm not sure if this is the right forum so I apologize in advance! I created a mobile version of my website. I have a subdomain called mobile.thinkdolphin.com. I've tried doing a redirect in my .htaccess file but I get an error saying there are too many redirects: [CODE]RewriteEngine On …

Member Avatar for dthatsme33
0
164
Member Avatar for rayarman

Hi, I have the following dates, either: - 07-09-09 (which is 7th September 2009) or - 07/09/2009 (which is again 7th September 2009) I need to reformat whichever one of these formats comes up so it is correctly inserted into myql db via php. Have tried strpos to find - …

Member Avatar for almostbob
0
103

The End.