39,316 Topics

Member Avatar for
Member Avatar for phpsa

Drupal 7 I know there was a previous post, but this is a little more specific to the $_GET function and Drupal. echo $_GET['id']; Error Message: Notice: Undefined index: id in eval() Just to make sure it worked, I created a test site and copy/pasted my code into a php …

0
71
Member Avatar for AngieS

Ok, I feel like I'm so close, but could use some help. I am trying to retrieve data from mySQL database via use of a form with checkboxes. This form is working somewhat except that it is only pulling one selection, not all that are selected. Can someone look at …

Member Avatar for diafol
0
106
Member Avatar for AbhishekBiswal

But the problem is: There a File names "includes" which includes the php files which have been included in some of the php files outside of it. But I want to lock/ make it inaccessible for users. Is it possible that the users can't access the folder/directory but the php …

Member Avatar for cereal
0
3K
Member Avatar for no1uknow

Has anyone found a good way to create powerpoint files on the fly. I'd like to go straight from PHP but creating from an HTML or XML doc is fine too... Also I'm totally Linux so COM Objects on Windows is out... thanks for any help...

Member Avatar for chrishea
0
3K
Member Avatar for kevin wood

this code will delete all the files from a directory on the server. be careful when using this as it will delete everything in the directory so use it wisely or make sure you have backups if it is implemented on the wrong directory. it works by searching for all …

Member Avatar for smithdp1
0
236
Member Avatar for alltech

Have a website that i am developing [url]http://www.wheels4rent.net[/url] and need help with PHP. when the dates etc and location is entered i have a deep link into another site and i have done this with PHP. This displays cars etc and prices. However i want to have a "book" button …

Member Avatar for alltech
0
500
Member Avatar for zevo

Hello everybody, i need help from you guys.. I want to split text line into 2-3 lines and put it on image using GD. I know how to write text on image with GD, but i don't know how to split text to get the last line.. Here is what …

Member Avatar for pritaeas
0
349
Member Avatar for LRNPHP

Hi There, I have 2 tables, one with dst codes and one with fees. I want to match the fees with the dst code. I've been trying a for loop but it's not working 100%. What is the best way of matching dst code with the corresponding fee? If TABLE …

Member Avatar for LRNPHP
0
158
Member Avatar for petrakid

I have a large text string which is queried from a database. It can be several thousand words long. As of right now, when the search is run, it pulls all of the text and then prints the first 150 characters: [code] echo '<span class="line3">'. strip_tags(truncateText($sermontext, 150)) .'</span>'; [/code] The …

Member Avatar for petrakid
0
141
Member Avatar for DarkBerzerk

i have table in the database for login system [CODE]CREATE TABLE users ( username varchar(30) primary key, password varchar(32), userid varchar(32), userlevel tinyint(1) unsigned not null, email varchar(50), timestamp int(11) unsigned not null ); [/CODE] already have cart for things that doesnt need shipping, but its with JavaScript, [url]http://lasthunter.freehostia.com/rated-online/conf_files/js/simpleCart.js[/url] but …

0
227
Member Avatar for elcubanoluis

I have never worked with mysql. I need to design a few pages for a website that allows certain people to log into the page and be able to update or change the info manually without having to use any html editing software are any programs. How is this done? …

Member Avatar for pritaeas
0
99
Member Avatar for sam230

i have a date column where dates are saved in varchar format like this 17-03-2011 :: 11:19:48 i want to find last date through query.. please help thanks

Member Avatar for pritaeas
0
172
Member Avatar for DarkBerzerk

i need simple shopping cart (without shipping fee and those things) but with/without cPanel and registration form with MySQL to save members data, any suggestions? :D

Member Avatar for DarkBerzerk
0
113
Member Avatar for cgull

Hello, I have a database where I insert records into, in Hebrew. One of the fields needs to have quotes in it. Then I need to use this field as the title attribute in an image tag. I got confused with all the different functions: mysql_real_escape_string, addslashes, stripslashes etc. Up …

0
83
Member Avatar for AbhishekBiswal

What I am upto: I am tryin' to develop a Blog CMS. There is a Database named blog in which there's a table named posts. The posts table has these fields: post_id, post_title, post_url, post_time, post_category, post_desc, post_username. Here, post_username is the username of the user who posted this post. …

Member Avatar for urtrivedi
0
196
Member Avatar for eduard77

I am analyzing a code and I receive the next error Warning: mysql_result() expects parameter 1 to be resource, boolean given in C:\wamp\www\AktiveKB\admin\includes\classes\class.auth.php on line 175 I am new in php and I don't know how to handle this error

Member Avatar for eduard77
0
90
Member Avatar for mwenyenia07

hi i want an idea/code that can call a controller method from a javascript function inside a view. am using codeIgniter 1.7.2. what i wanted to achieve is to load details of a client by entering his account number and press enter key to load the details. hope you will …

Member Avatar for urtrivedi
0
107
Member Avatar for turt2live

Hello, I am making an online gallery for a friend and have this (partially listed) folder structure. root/index.php root/inc/gallery.inc.php root/inc/setup.inc.php root/inc/includes.inc.php Gallery.inc.php has various functions in it (Get image, album, etc), setup.inc.php has config variables (for my friend's ease of access, contains SQL stuff and date formats), here is what …

Member Avatar for turt2live
0
289
Member Avatar for Aksel

Hi :) I have a page where users can enter youtube url's within bbtags such as: [Youtube ]youtube-url-here[ /youtube] However...I'm having some problems when the url contains the &amp sign..as this seems to cut off the string at this point. I've read somewhere that one have to use urlencode these …

Member Avatar for vibhaJ
0
100
Member Avatar for jabeen111

how can i appear confirm message box when row are delete (are you sure to delete this record) in php?? [CODE]echo '<td><a href="teachers_delete.php?Course_Id=' . $row['Course_Id'] .'" ><img src="images/delete.gif" /></a></td>';[/CODE]

Member Avatar for vibhaJ
0
138
Member Avatar for binu_ds

Hi all, I have three CSV file. First one include toname,toid and status.Second one has username and password and the third one include from,subject,content,reply to,cc etc.I want to read csv files and to send bulk amount email address. Also want to increase mail sending time. How will read csv file …

Member Avatar for karthik_ppts
1
90
Member Avatar for davidXY

Hey, I am very new to php. I have a PHP script (modified from [url]http://woogley.net/misc/Highscore/)that[/url] I call from a my Java code to access a database in order to read/write records. The SELECT part of it was perfect. However, i can't write to the database when I try to UPDATE. …

Member Avatar for davidXY
0
145
Member Avatar for canterorist

hi everyone! I would like ask what is the use of this file in wordpress? myfile.mo <--(sample file that I'm talking about). every time i use plugin in wordpress and inspect their files. i always see this file(myfile.mo). i want to know why they include this file into their plugins. …

0
46
Member Avatar for bulbul14
0
39
Member Avatar for bulbul14

how to secure WordPress from hacking?i want know details information, can you help me friends?

0
37
Member Avatar for thomas.edison

Hello, I know this kind of questions sound silly most of the times, but still I need to ask it. I am planning to get a web application done, for my business usage; it should be able to handle a huge DB scenario ( think of retailers DB ), support …

Member Avatar for thomas.edison
0
180
Member Avatar for mcurse

Hi, I'm new here. I've a wordpress site. I don't know how to change keywords. I'm using all in all seo pack to use keyword. But there is no change. You can see from any browser's view source option. Can anyone tell me how can i fix it ? Here …

0
52
Member Avatar for mlhazan

I am working on a pagination.From the index page it goes with a variable .For an example: [CODE]viewproduct_by_category.php?categoryid=1[/CODE] the value 1 comes from database.So the error is ,first time the page shows up all the images that has the categoryid =1 but second time when ever I press next page …

Member Avatar for mlhazan
0
322
Member Avatar for Who me?

How can I use a variable to create another variable so that the output is not the content of the new variable but the php code for the new variable? For example: If variable $a = "house" and the name of the final variable is $b, then how do I …

Member Avatar for Who me?
0
158
Member Avatar for binu_ds

Hi all, How will send bulk mail using csv file php mailer?Please help me.

0
60

The End.