39,323 Topics

Member Avatar for
Member Avatar for showman13

Good Morning All, I have a query I need to do, but haven't been able to get it clear in my mind how to structure it... I have two tables 'members' and 'subs_track' they are linked by the 'mem_id' field in both There is a single record for each member …

Member Avatar for showman13
0
112
Member Avatar for masocha

l am trying to send individual emails with a loop using php mailer in joomla. However when l generate the emails l get something like 12 emails to one email address even if the loop is only 2 in size So its something like foreach($res as $r) { //send email …

Member Avatar for vibhaJ
0
79
Member Avatar for happytogether

Can somebody help me please? i try to generate an xls(excel) file using this code, all format work fine except the cell size(width). can anyone help me how to format the cell width? [code] </php . . . $workbook = new Spreadsheet_Excel_Writer(); $format_und =& $workbook->addFormat(); $format_und->setBottom(1);//thick $format_und->setAlign('center'); $format_und->setHAlign('equal_space'); $format_und->setBold(); $format_und->setVAlign('vcentre'); …

Member Avatar for happytogether
0
866
Member Avatar for branding4you

I have php mailer that works on the server and sends newsletters out to clients. I wnat it to send me read receipts (I know that some users will select dont send read receipt)and delivery receipts. I tried this: [CODE] $mail_body = ''. $news . ''; $subject = "My Newsletter"; …

0
61
Member Avatar for Rajicet

Hi, I want to convert an XML containing images into Excel sheet. But it is displaying only image path, not image. How to display the image in Excel... ?? Can i use base64 encoding and decoding for this ? Please help...

Member Avatar for Rajicet
0
127
Member Avatar for vishalpala

if user type wrong id and password so one message display and how can i remove alert message on refresh on log in page

Member Avatar for karthik_ppts
0
70
Member Avatar for reygcalantaol

I am developing google search application using google search API. I am almost done with it but I have one problem which I am hardly find the solution over the net. My problem is to get the cache date (a date where google last crawled the site). I will be …

0
72
Member Avatar for diafol

This is a CSS/HTML issue, not php. Your php is suspect: Line 15. No need for all the tables? How about one table? Do you really need a table anyway? Why not use <h3> for name, <p> or <div> for content? Any reason why you'r using mysql_result? This tends to …

Member Avatar for vibhaJ
1
84
Member Avatar for programmer12

Hi, Can someone help me with writing the script to be able to pull the information from the database without refreshing everytime something new has been added? My codes at the moment read: [CODE]$recentupdates = mysql_query("SELECT * FROM status NATURAL JOIN users WHERE user_id = users.id ORDER BY status_id DESC …

Member Avatar for programmer12
0
126
Member Avatar for dalip_007

Hi guys I run a site like twitpic.com for twitter , and what I want is when someone post picture on my site then it get shown up on twitter time line just like pics from twitpic, plixi and yfrog are shown, Any one have idea of how to do …

Member Avatar for dalip_007
0
66
Member Avatar for ebanbury

Hi I am hoping someone can give me some advice. I have a user_registration table with the field 'ID' as the user ID field. I have another file (property_details) which is for users to insert their own records. What I need to do is to automatically assign their ID from …

Member Avatar for ebanbury
0
194
Member Avatar for designalex

Hi, its me again.:scared: im using the following code to destroy my session but instead of removing the session, it just empties the data, for e.g: when i start the session a file is created, after storing my data in the session the file could be 2 or 3 kb …

Member Avatar for SRocks
0
205
Member Avatar for tyop

This is something that worked a few months ago and now I don't know what I messed up when I made the mistake of trying to migrate it to a new host. It's nothing but a registration and login module and I'm trying to have a tight focus on security …

Member Avatar for tyop
0
3K
Member Avatar for erza26

hi....i have some problem here...i'm making a form for ordering...what i want is when user click on form ordering button, there will be a form with reference number echo from database..in database i set the reference number as primary key and auto increment..somebody can help me to solve this problem??

Member Avatar for diafol
0
119
Member Avatar for arshadshaikh

Hi every one. Can i convert dwg file to pdf using php? OR Is there any PHP API or web service that provides service to convert dwg file to pdf file?

Member Avatar for arshadshaikh
0
556
Member Avatar for Amr87

Hello Everybody I`m using shared server on HostMonster that runs PHP 5.2.17 , and I want to upgrade to the latest version 5.3.6 which I downloaded from PHP.net as tar.gz2 extension first is that possible to replace the version with the newer one? and if so How ??

Member Avatar for chrishea
0
46
Member Avatar for theighost

Hi, I have this strange problem, I select some data from the database, there is no problem in the query and even when I use mysql_num_rows on the query it gives me the right number of entries in the table I'm selecting from, but when I try to echo every …

Member Avatar for pritaeas
0
4K
Member Avatar for Gel

i wanna enter a value passed by javascript function to the database. is there a way to do that? thanks. var eng = 0; var nothome = 0; var nointerest = 0; var callback = 0; var booked = 0; function myFunction(i,txt, elemid){ var plural; if (i != 1) plural …

Member Avatar for diafol
0
215
Member Avatar for RazorRamon

I'm trying to code a site similar to the coding on the bottom. I need help though I'm not sure if functions for php can work this way. I want to be able to use the function greeting in many different if else statements. How can i do this without …

Member Avatar for twiss
0
300
Member Avatar for karthik_ppts

Hi Frendz, I have placed my custom marker on google map in my application. But it displays default marker. Whats going wrong with this code? [CODE=javascript] var icon = new GIcon(); icon.iconAnchor = new GPoint(6, 20); icon.infoWindowAnchor = new GPoint(5, 1); icon.image = 'images/car_blue.png'; var marker = new GMarker(point, icon); …

Member Avatar for karthik_ppts
0
293
Member Avatar for cliffcc

I have do mysql query, i want to export the result data form mysql in term of csv files. What is the code in php? Thanks!

Member Avatar for vibhaJ
0
172
Member Avatar for davy_yg

Can anyone help me ? What might be the problem ? Parse error: syntax error, unexpected '>', expecting T_STRING or T_VARIABLE or '$' in C:\AppServ\www\wordpress\wp-content\themes\platform\footer.php on line 36 .. [CODE]<?php /* FOOTER This file controls the ending HTML </body></html> and common graphical elements in your site footer. You can control …

Member Avatar for Insensus
0
248
Member Avatar for rpjd

A user submits values in a form. On the action page I want to check if there is a table on the page whose id matches any values submitted via $_POST. I've seen examples using file_get_html(), but this it not listed as a function on php function list. What is/are …

Member Avatar for vibhaJ
0
68
Member Avatar for Viruthagiri

Ok guys, I'm going to start a user generated content site using wordpress. Please suggest me a wordpress plugin. Here are the features i need. Registration/Login User content submit form upon login. User can post the content. A moderator have to approve the content. Once published disable the edit option …

0
59
Member Avatar for Sorcher

Hello! i didnt know where to put this post but i know the PHP section is stuffed with cyber animals who loves to help ;) I need to find a web host that does not police the file copyrights, that allows flash stream from website. I am not interested in …

Member Avatar for Wraithmanilian
0
140
Member Avatar for ramizgirach

hey m a newbie in php i would love some help on this one i have a section of jokes in my page the problem is i want the two columns 'name' and 'content' to be extracted from database and automatically put in a table where name is a title …

Member Avatar for diafol
0
85
Member Avatar for designalex

Please correct my syntax: im including a file with the following constants [CODE] define('IPADDRESS', $_SERVER['REMOTE_ADDR'] ); define('BROWSER', @$HTTP_USER_AGENT ); define('REFERER', @$HTTP_REFERER ); [/CODE] if i echo IPADDRESS; i get the ip address (127.0.2) so the include is fine. My mysql instruction is as follows: [CODE] $update = mysql_query("UPDATE login_errors SET …

Member Avatar for designalex
0
183
Member Avatar for DeIntegro

I am having problems loading images from my database. I think it's something with the variable...i am new to PHP and have a project i need to finish by Tuesday. Your help is appreciated. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> …

Member Avatar for dos_killer
0
469
Member Avatar for vibhaJ

Hi Friends, I am having one contact-us php script. Here i have used php mail function to send email to admin. Even-though i have also used captcha coding, admin is still continuously getting spam (dummy texts) contact us emails. Actually I am not sure how spammers do such activity. If …

Member Avatar for Batch Devil
0
124
Member Avatar for amoken

Hello I want to make through .htaccess (or any other way) to display whenever the user gets a 403 error a 404 error. I don't want it to be done with ErrorDocument because on the header it will still be error 403 and not 404. Reply PLZ!

Member Avatar for edwinhermann
0
17

The End.