39,393 Topics

Member Avatar for
Member Avatar for dstoltz

Hi All, I use Dreamweaver CS6 to write/edit both ASP (classic) and PHP. The new Adobe Dreamweaver CC is now subscription based, which I think really stinks (I hate subscription based software). Just wondering what is considered industry standard tool(s) for PHP? Is there a standard? If not, what are …

Member Avatar for pritaeas
0
302
Member Avatar for Dani

I need to set a cookie with an array as a value. Is the best way to run serialize() on the data?

Member Avatar for veedeoo
0
2K
Member Avatar for MitkOK
Member Avatar for LastMitch
1
611
Member Avatar for kevin wood

This code will display images within an email from the server. It will display an image with a choice of file extension which can be expanded to fit your needs. this code was originally developed for a emailing system where the images to be displayed where uploaded by the user.

Member Avatar for LastMitch
1
198
Member Avatar for Moderns

Hi mates, I am looking for a way to cache a PHP page that it's different for each session user. For example if the paginating is used and if I have 10 pages each page contains 25 entries extracted from database, also these entries are editable when clicking on button …

Member Avatar for LastMitch
0
349
Member Avatar for wolfgangcs

This is not working: class Post extends CI_Model{ function get_posts($num=20, $start=0){ //$sql="SELECT * FROM users WHERE active=1 ORDER BY date_added DESC LIMIT 0,20;"; $this->db->select()->from('posts')->where('active',1)->order_by('date_added','desc')->limit($num, $start); $query=$this->db->get(); return $query->result_array(); } } and giving me a: `[20-Jun-2013 17:42:21] PHP Fatal error: Call to a member function select() on a non-object in public_html/codeigniter/application/models/post.php …

Member Avatar for cereal
0
90
Member Avatar for klemme

Hi, I have this bit of php returning the response, just for testing : header('Content-type: application/json'); $response = array(); $response["status"] = "ok"; echo json_encode( $response ); 1) Is this a wrong way to send a json encoded string back via jquery ajax? 2) I get NOTHING, No response from this …

Member Avatar for klemme
0
306
Member Avatar for murugami eric

hi guys, am working on a phpscript and have a date form, am lacking a php/javascript code to validate my date form. please help with the code.

Member Avatar for murugami eric
0
125
Member Avatar for unikorndesigns

hi guys, Do you guys have any php code where i could add a new class to a div element in a page? using my code am planning to read the file contents of an html page. I wanted to add a class "modify" to all DIVs which has a …

Member Avatar for diafol
0
281
Member Avatar for adeeb.keyaam

i want to create a form wizard, but i am not getting my forms one after another in one page. i am using `<input type="hidden" name="step" value="1" />`, `<input type="hidden" name="step" value="2" />` to get my forms step by step, when i forwarded from up_account.php to update_step1.php, then my form …

Member Avatar for pritaeas
0
158
Member Avatar for joseph.lyons.754

Im writing some code to send out emails for work. And i've been stuck on with this error for a while nw. Any help will be greatly appreciated. Error message: Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in C:\wamp\www\PHP\mailMany.php on line 21 Heres my code: <?php // …

Member Avatar for Webville312
0
208
Member Avatar for asifnaveed44

i am showing the emails on my website php page through gamil api the api give me the html of the mails this mail html distrube my wesbite page html i am using below code for the displaying the html of the emails $doc = new DOMDocument(); $doc->loadHTML($body); $yourText=$doc->saveHTML(); $body=$yourText; …

Member Avatar for veedeoo
0
168
Member Avatar for edwin.thomson1

I tried lots of Poll scripts but one of was good one. I need Poll script with Jquery, AJAX and Admin so that I will intergrate my website.

Member Avatar for edwin.thomson1
0
113
Member Avatar for maharrington

Hi, I have done some research and have found an example of a banner rotator (that I'm presently using) - as you can see here: http://www.clickteesside.com/ What I'm wanting to do is like the imgsrc, links and message of the rotator to a database value, so that there are more …

Member Avatar for diafol
0
299
Member Avatar for engr_pir

Hi friends, I'm using Wordpress 3.5.1 , and have created gallery from add media it works fine for this page but i have need to get thumbs of this inserted gallery in footer.As gallery is updated then thumbs in footer must be updated, Is there any function to get thumbs …

Member Avatar for iamthwee
0
156
Member Avatar for amber.long83

Hi friends I wishing your small help for magento customization. I want to rename default top links given in magento to my own caption. I want to change "My Cart (1 Item)" to "My Bag (1 dozen)" Please anyone guide me to achieve this thanks Amber

Member Avatar for sftranna
0
390
Member Avatar for SQLpower

Would be possible to implement a VB.NET program in a PHP Website? I would want to have a rich text editor for editing files which will be stored in the database and would be displayed on the website. Being able to edit them without leaving the website. I believe would …

Member Avatar for SQLpower
0
236
Member Avatar for williampritchar

Im using wamp server 2 in my pc, I have created some php files and used php short tags inside it, but whenever I run a file it always show me error. Please give some suggestion.

Member Avatar for almostbob
0
1K
Member Avatar for Stefano Mtangoo

As heading shouts, I need to make source code formatter to format PHP Codes. RobertoP have written nice Lexical analyzer that means no need for me to tokenize file. I just do not know how to "juggle" with tokens to produce the formatted code. I appreciate any pointer especially simple …

Member Avatar for Stefano Mtangoo
0
149
Member Avatar for mpc123

Hi I have been using a replace array which has worked wonders but now I have just added one and it wont work why is this please. I can understand why it wont work but do not know what i have to do to sort it. I added the last …

Member Avatar for cereal
0
119
Member Avatar for Ericson27

hi guys i need help, i need php code about how to put a sound in website... thanks!!!

Member Avatar for Webville312
0
300
Member Avatar for nishantharp

hi i want to create realestate search form. but i don't know how to do it . please help me. for example visit below site [Click Here](http://www.lankaland.lk/)

Member Avatar for Webville312
0
76
Member Avatar for shhh

view.php <html> <head> <title>Video Upload</title> <link rel="stylesheet" href="styles.css" /> <link href="http://vjs.zencdn.net/4.0/video-js.css" rel="stylesheet"> <script src="http://vjs.zencdn.net/4.0/video.js"></script> </head> <body> <?php include 'connect.php'; ?> <div id="box"> <?php $video = $_GET['video']; ?> <video id="my_video_1" class="video-js vjs-default-skin" controls preload="auto" width="500" height="264" poster="my_video_poster.png" data-setup="{}"> <source src="videos/<?php echo $video; ?>" type='video/mp4' /> </video> </div> </body> </html>

Member Avatar for veedeoo
0
814
Member Avatar for DanceInstructor

menuWerx is a PHP class to generate a menu for your site. Options include: debug mode, horizontal or vertical orientation & hooks, optional inline styles, and strict or transitional modes. See an example at: [url]http://www.Clear-Mind.com/menuwerx/[/url]

Member Avatar for diafol
1
1K
Member Avatar for Maideen

I have a problem in searching text in data, like search only street = Denover... Here is my code. Pls help me. if i click button nothing happend... Index.php <?php include_once '../templete/header.php'; ?> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Search</title> <link href="style.css" rel="stylesheet" type="text/css" /> </head> <body> <form …

Member Avatar for Maideen
0
364
Member Avatar for Dani

I'm using pspell and I have a large text document of one word per line that I would like to add in addition to the US dictionary already being loaded. I don't need to be writing to this document so just loading it for the session would be fine, I …

Member Avatar for Dani
0
316
Member Avatar for Mushy-pea

This snippit is a follow up to my first snippit, namely "Simple website hit counter" which is written in Perl. It does exactly the same thing using PHP. "Boring", you might say? Well, I have my reasons for wanting to learn this language and one needs to start somewhere :) …

Member Avatar for LastMitch
1
328
Member Avatar for maharrington

Hi Everybody, Had a website transferred from Windows to Linux server, and ever since, I've had an error coming up when attempting to login - meaning that I can never actually enter the secure area of the website. I can login (i.e. press the login button) without error - however, …

Member Avatar for diafol
0
350
Member Avatar for marifard

Hi, I try to make a simple page to upload an image in Database. This is a test page in my website at this moment. The name of the table to store the images is image and the columns are: id, userid, name, image My problem is when I click …

Member Avatar for marifard
0
390
Member Avatar for careaa.fractal

Hi. I have HTML form and i need php code when i want to subtract something from coulmn in mysql database. Something like http://www.daniweb.com/web-development/php/threads/101739/using-php-and-html-forms-to-update-a-mysql-database MY FORM - HTML <form action="objednat_potvrdenie.php" method="post"> Meno: <input type="text" name="meno"><br> Priezvisko: <input type="text" name="prie"><br> Mesto: <input type="text" name="mesto"><br> Ulica: <input type="text" name="ulica"><br> PSČ: <input type="text" …

Member Avatar for Dani
0
574

The End.