39,320 Topics
| |
I would like to take a string (I have loaded it from the database) and extract it into chunks. The beginning string, lets call it "$string", has the following format: [CODE]<li>item1</li><li>item2</li><li>item3</li>[/CODE] (maybe more li's, maybe less, or even none) What I would like to do is extract to an array … | |
Hey all, I need to use the PHP mail() function in order to send an email to a number of individuals. So lets say that I have 5 users that need to get a particular email. I was thinking that the correct way of going about using the mail() function, … | |
i have a table with 14 columns and 4 rows. i know how to echo a result with a table from a query but how do i input results into a table thats already there? results go into cell 1, cell 2, cell 3 etc been having trouble on this. … | |
i found that your supposed to use this: session.gc_maxlifetime but i dont know how. does anyone know how i can destroy a log in session so the user wont be logged in 30 minutes later. ? | |
Hi, I don't know if I have just been working too much or have gone brain dead (or both), but the solution to this eludes me. I am using PHORM ( a PHP form processor) which uses variable substitution to allow you to quickly create user interaction pages etc. What … | |
Hi! After years I decided to sign up! Can you please tell me of a bot tutorial or getting a solution to my problem. What direction should I be going. I want to make a PHP script that searches a MySQL table's columns, rows and then returns all the spelling … | |
Hello everyone, and thank you in advance for any tips you may be able to provide. I am hoping there is a way to do paging with static html content with php? I have to redesign a very text-heavy site and would like to limit the page lengths of the … | |
Hi Guys, a while back i was working on a components list for a marquee firm, the project was put on hold for a while but now i'm taking it up again. A while back i asked how to add extra input fields with an onClick button, this was achieved … | |
Hi, I am new in making a social networking site. I want to make such a social networking site which have this type of feature: 1.[B]Search EASILY for artists by name, type of art (about 10 variables), geography, etc - so the Database link and lookup function has to be … | |
hello... i want to do "images and text" which is in database...that content fetch in user's side....but sliding problem occuring...for example i have 5 images and 5 descriptions is der..so i want to show image[1],description[1] after some milliseconds image[2],description[2] .....etc like this...but all images are displaying once..that is my problem.. … | |
[CODE]hi all How to store xls and xslx ,txt extension file to mysql database? [/CODE] | |
[CODE]hi can any one tell me how i can make a thumb nail of an image?[/CODE] | |
hello... i am doing shopping cart. in that there is billing address is there and shipping address is there. in there between "copy" link is there. when that page is loading "billing address fields comming and 'copy' link is also comming. but shipping address fields are not comming. after 'copy' … | |
Hello, I have just started to develop a PHP/mySQL site and was wondering if there are any Open Source Security Frameworks they can recommended. Not only do I want to deal with data hacking issues, but also want to know what the best practices to insure that users are not … | |
How to import file in wamp server? I have a database file named as db.opt .I want to save this file in proper location so that I can access database from wamp server..Its showing unable to access database everytime. I saved those file in wamp\bin\mysql\mysql5.1.36\data. But I cant access database … | |
Hai Every one... Im totally new to X-cart open source .Its a e-commerce source actually..And my company needs to create a shopping cart with x-cart.. Any suggestions , tips on this will always welcome... thank you, shanti.. | |
Hi I would like to set up a php birthday reminder so that if users bdays are within the 7 days, it should display that the folllowing people celebrate their bday next week so far i have got to this stage, does any one have a better idea? [CODE=php]if(!empty($_POST)){ function … | |
Hi What i want to do is using php code to write to delete the entire row in the db. each row has its own id, field and content. instead of deleting the row with the id, can i do by the field name? how would i do this? | |
I'm trying to display a menu option only for certain session id's and for some reason it displays for ALL session id's ... not just the ones i have indicated. Not too sure why it's doing this, it all looks okay to me. [code] <?PHP if(isset($_SESSION['user_id']) && $_SESSION['user_id'] == 1 … | |
Hi guys, i have been trawling around looking for a decent and simple way of working out an age from a birthday. The way i'm working is a date of birth is added to a database then when pulled we echo the actual age and not the d.o.b. It's probably … | |
I am writing this simple code. I used this class in PHP 10 minutes ago and now when I did it again it gives me this error. I cannot see the difference [CODE] <?php class user { public $Username; public $FullName; public $Password; public $LoggedIn; public $JoinDate; public function changePassword($newPass) … | |
Hi! I need help... i want to make a button that when i click on it... it save's some attributes of my database (postgreSQL), and it save in .xls or .txt file... how can i make that? is it possible?? i can show my attributes on a table view on … | |
This is my code which is intended to produce an URL like the following: [url]www.mysite.com/test.php?day=1[/url] [CODE] <? if (!$_GET['day']) { $day = date('N'); } elseif ($_GET['day']==1){ ?> <?php include("test1.php") ?> <? }else if($_GET['day']==2){ ?> <?php include("test2.php") ?> <? }else if($_GET['day']==3){ ?> <?php include("test3.php") ?> <? }else if($_GET['day']==4){ ?> <?php include("test4.php") … | |
I'm building a Content Management System on my own in PHP & MySql. I thought it's a good idea that all CMS files to be stored secure on the server "before" www folder so that it can't be accesed from the browser (all cms files in one folder). In www … | |
hello plz i need help with this urgently as it i supposed to be used tomorrow :S i get this error from the following script Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/aybasuco/public_html/MySQL-Formmaker/lib/db_index.inc.php on line 42 thanks in advance for your valiable time [CODE]<?php # … | |
Hi, I can create pdf using fdf and send email out with pdf attached using PHPMailer on press of button. Now i would like to know how can i open an email client with pdf created with fpdf attached to it, user can then manually send the email with send … | |
Hello everyone, I have a problem when i use json and array. And i need your help. Here is my code: [CODE] while($row = mysql_fetch_assoc($result)){ echo json_encode($row); } [/CODE] The result is: [CODE]{"id":"1","title":"event1","start":"2009-11-10 14:18:15","end":"2009-11-03 14:38:22","allDay":"false","url":null}{"id":"2","title":"event2","start":"2009-11-09 15:41:20","end":"2009-11-10 16:41:25","allDay":"false","url":null}[/CODE] But i want the result is like this: [CODE] [{"id":"1","title":"event1","start":"2009-11-10 14:18:15","end":"2009-11-03 14:38:22","allDay":"false","url":null},{"id":"2","title":"event2","start":"2009-11-09 15:41:20","end":"2009-11-10 … | |
Heres the skinny: I have created a site with user login that directs the user to a page that only shows thier information pulled from the database. What I want to do now is create an admin side that allows the site owner to be able to use 1 login … | |
| Hi I need to integrate paypal gateway on my website. We sell memberships. There is a trial period for using some features of the website. After that users must purchase their memberships - it can be a mounth or 6 mounths or a year. Now, I could dynamically generate the … |
Hi frnds... i m doing music portal. i need to upload Albums to FTP from admin side.Each Album having 5/6 audio files. Each song details should be saved in my DB also..plz give me some suggestions ... |
The End.