39,323 Topics

Member Avatar for
Member Avatar for francis123

Hello! everyone out there! I am having a table that looks like this in phpmyadmin ....................................................................................................... . id . fname . lname . user_id . trackdate . country . ....................................................................................................... . 1 . Jonh . Mark . 10 . 21 . USA . . 2 . Frank . Yank . …

Member Avatar for francis123
0
99
Member Avatar for ned69

I have a joke script which currently displays a new joke each day and I want to change it to where it displays one every week. I keep getting the SQL error below but when I run it in phpMyAdmin it works just fine. Most likely some little thing which …

Member Avatar for ned69
0
127
Member Avatar for click here

hi i use cookies in my site setcookie("user","id-pass",time()+(60*60*24)); it work well but when i try to logout make setcookie('user', '', time() -(60*60*24)); its not work iam tried setcookie('user', ' ', time() -(60*60*24)); not work tried unset($_COOKIES['user']) not work tried replace it not work too iam tried every thing

Member Avatar for click here
0
97
Member Avatar for sarithak

Hi frnds... i have to do resume uploading to email...plz give me the code for uploading resume to email.. i know the code for sending email..but dont know how to do the attachement....plz tell me... this is my code(this code only 4 mail..not 4 attachment)...plz change this code for attachment... …

Member Avatar for ivatanako
0
91
Member Avatar for Susan.LK

I have a login form which redirects the user to a new page if the form is submitted, however it does not show the error messages on the same page as the form. Currently if nothing is typed in user or passwords fields, the same page is relaoded process2.php showing …

Member Avatar for Susan.LK
0
126
Member Avatar for vssp

Hai friends I need one clarification for cookies . How to distroy the cookies using php . Please help me Thanks vssp

Member Avatar for click here
0
1K
Member Avatar for Cheeki

Hello guys, I'm having a issues with the imagecreatefromgif() function. I'm running WAMP on my laptop which is running SQL 5.1.36, PHP 5.3 and APACHE 2.2.11. Now if I create a gif image using the imagecreatefromgif() function and add a rectangle to the image and then create the image again …

Member Avatar for cwarn23
0
101
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

The End.