39,392 Topics

Member Avatar for
Member Avatar for cgull

Hello, I am developing a site with ci 2.1.4 I used this tutorial to create an event in google calendar: [Click Here](http://www.cecilieo.com/techblog/how-to-implement-zend-framework-with-codeigniter-on-windows/) When I change a date on the view, it calls the controller function with ajax, used to work fine, now the page just hangs and I can’t figure …

Member Avatar for cgull
0
2K
Member Avatar for BadManSam

Hi, I want to echo something if certain text is typed into a form textbox. <form action="mail.php" method="POST"> <table border="0"> <tr><td><b>To:</b></td><td><input type="text" name="mailTo" size="20" value="<? ; ?>"></td></tr> <tr><td><b>Subject:</b></td><td><input type="text" name="mailSubject" size="20" value="<?=$mailSubject;?>"></td></tr> </table> <b>Message:</b><br> <textarea rows='16' cols='45' name='mailMessage'></textarea><br> <input type="submit" name="mailAction" value="Send" /> </form> I want to add it to …

Member Avatar for BadManSam
0
230
Member Avatar for lloydsbackyard

for printing php in pdf with which is advisable to use dompdf or fpdf? do i need to install a pdf reader first so for hte php code to work? i tried with fpdf but it will not work if no internet since it will download some files to open …

Member Avatar for |-|x
0
129
Member Avatar for garyjohnson

I have a mysql query that seperates an array of variables and uses each variables to compare inside the database. The query uses a OR clause and I want to make it so it can also use an AND clause. The trick is I want the left side of the …

Member Avatar for garyjohnson
0
251
Member Avatar for Gewalop

Hi, - Why use paging? It's not really cool to print out all 2000 rows you have in a table to the page, so it'd be nice to page them. Special cases? Yeah, if you have 1000 rows.. and you've set the maximum row per page to 20, well.. you're …

Member Avatar for diafol
6
2K
Member Avatar for sanbhu2105

hello, i have below code and i need to change the status to inactive when i press the delete button. it happens that when i use the code below, the status does not change at all. can anyone tell me where am having an error in the code? <?php session_start(); …

Member Avatar for diafol
0
239
Member Avatar for cssweb

hello guys, i have spent one week on this problem but untill now my proplem does not soloved. my code is about rating system and i can not insert vote for question that i voted for, throught this code vote will insert for the all displays question. note that i …

Member Avatar for cssweb
0
139
Member Avatar for davy_yg

Hello all, I am looking for a free upload class script and I find this: [upload class](http://www.verot.net/php_class_upload.htm) Yet, I still do not know how to use it. When I try to upload pictures file in the browser they show me bunch of codes instead showing me the file pictures and …

Member Avatar for Squidge
0
332
Member Avatar for asaidi

Hi i cannot make a link on the field in result <h2>View All Posts</h2> <table> <tr> <th>Title</th> <th>Body</th> </tr> <?php foreach($Posts as $post):?> <tr> <td><?php echo $Html->link($post['Post']['title'],array('action'=>'view',$post['Post']['id']));?></td> <td><?php echo $post['Post']['body'];?></td> </tr> <?php endforeach;?> </table> it is like link it is not acceptable the error i get: Error: Call to a …

Member Avatar for cereal
0
67
Member Avatar for sidim

Hi, I can't seem to find the answer I'm looking for online (maybe keywords are too common?). Is my code only verifying whether my directory is created? Or is it actually validating? I need it to validate, but I'm unsure whether or not it's doing that. $dirPath = $_POST['company']; $result …

Member Avatar for sidim
0
327
Member Avatar for davy_yg

<a class="topLink" href="input_image.php"><input type="submit" name="productbaru" value="Product Baru"/></a> If I press Product Baru why they do not take me to input_image.php ?

Member Avatar for crescendo
0
106
Member Avatar for lloydsbackyard

im using wampserver and i want to put password in the database. i check some video tutorias but when i try it it is not working in my case. can anybody please help me give some ideas. thanks

Member Avatar for lloydsbackyard
0
186
Member Avatar for pedal123

Hello, I have a members area on my website. I'm trying to check if a user with a specific username and id has logged in, and then echo a string of text on page B (members area page) if its them. The user logs in on page A (login page). …

Member Avatar for pedal123
0
211
Member Avatar for anil14353

Hello, i got a problem with $_GET[]. please see the below code and help me. <?php if(isset($_GET['_rp'])==1) { echo '1'; } else if(isset($_GET['_rp'])==1) { echo '2'; } ?> when i'm changing the value of _rp=2 it was showing the result as '1' but not '2'. Why this was happening please …

Member Avatar for anil14353
0
1K
Member Avatar for davy_yg

Hello, How to create a body background like : [website](http://id.gateway.com/gw/en/ID/content/home) See the background seems to adapt to it's size, 1366 x 768 or 1024 x 768 or some other size the only scroll down that appears is vertical scroll. What image size picture do I have to create ? and …

Member Avatar for davy_yg
0
112
Member Avatar for kanoy83

hi guys, 1. i use this script from w3schools it works with real escape string. But my problem is it is slow displaying the table and i dont know how to check the problem. assuming password and table is correct. 2. can i change the "ajax_demo" value or delete? reference: …

Member Avatar for kanoy83
0
2K
Member Avatar for dougsix

Here's the problem: Like most, I'm developing on an office network server, "localhost", and migrating pages to a live server on the web. I have several layers of folders with pages that refer back to "localhost/incudes" and "localhost/images" for example using "../../../includes/key.php" for example. I have coded the following to …

Member Avatar for dougsix
0
213
Member Avatar for showman13

Good Morning, Got a question regarding using CURL to automate the submission of a form. What I'm trying to accomplish is to avoid someone submitting a paypal payment more than one time for a purchase through my shopping cart. I can do it by submitting the form to paypal and …

Member Avatar for ryantroop
0
715
Member Avatar for cmps

Hey all!! I am thinking of creating a website that may contain some buying/selling items, so I was wondering which framework is the best for shopping online. I have some experience with codeigniter, but I was using it for its MVC structure which organizes and uses files more efficently. Anyway …

Member Avatar for diafol
0
188
Member Avatar for jovstudios

how can detect if the username is already exist?? i don't what is lacking in my code. this is my code: <?php include( "db.php" ); $first = strip_tags(mysql_real_escape_string($_POST['first'])); $last = strip_tags(mysql_real_escape_string($_POST['last'])); $username = strip_tags(mysql_real_escape_string($_POST['username'])); $password = strip_tags(mysql_real_escape_string($_POST['password'])); $password2 = strip_tags(mysql_real_escape_string($_POST['password2'])); $passwordmd5 = md5($password); if( empty($first) || empty($last) ||empty($username) || empty($password) …

Member Avatar for diafol
0
187
Member Avatar for GlenRogers

Hi I have a php header file that displays a random image from a mysql table each time the page is reloaded. I have done this just using rand() in the query. But doing it like this means that the same image could come up 3,4,5 times in a row! …

Member Avatar for GlenRogers
1
363
Member Avatar for cip6791

I am trying to use 3 custom fields from wordpress posts to build an array. I need to show and hide a div based on what time it is. I have a start, an end and a name which is also set as a css class in the template. That …

Member Avatar for cip6791
0
190
Member Avatar for GlenRogers

I have a form that shows images whos paths are stored in mysql. The form has 'hide' and 'show' submit buttons for each image. Pressing the hide button should set the value of the 'status' field to 2 (hidden). But it does nothing, my queries don't seem to execute. Here …

Member Avatar for GlenRogers
0
224
Member Avatar for ckchaudhary

Hi guys, first of all i am new to php, so please bear with me. I have this requirement wherein i need to automatically create email accounts with my hosting provider through my website's php code. I have a linux hosting account with cpanel interface (its bluehost.com btw, if that …

Member Avatar for ckchaudhary
0
427
Member Avatar for shapeape

Hi again, My login script seemed to be up and running. I was almost ready to crack open a bottle of vin-de-rouge to celebrate as it's a little milestone for me. However, it appears to have abruptly stopped functioning and I'm yet to determine the cause of this. Could I …

Member Avatar for shapeape
0
243
Member Avatar for vijaykumar.mr

Can someone give me the script to log in fiverr.com and fetch my message from inbox using cURL PHP

Member Avatar for veedeoo
0
399
Member Avatar for knarfs

I am developiong a php application which builds several large collections of objects in the course of interacting with the user. The objects need to persist across requests from the user and I've used php sessions to successfully implement this. The objects are persisted until the user is satisfied with …

Member Avatar for TomH.PG
0
208
Member Avatar for L-D

I have a script with no errors but when I login it comes back to blank fields in 1 second. Can't get in to make changes/settings. Submitting a wrong login will bring up a wrong pw message. I know the user/pw is correct because I saw it in phpmyadmin. Thanks …

Member Avatar for L-D
0
196
Member Avatar for janguyo

Hi Guys, I am working on a database for managing my projects, I would like to have a fucntion that can alert when quaterly and anual Reports are due basing on Project start dates. Please I need ideas if possible a working code too, still learning PHP. Any help much …

Member Avatar for janguyo
0
211
Member Avatar for Sydique

Am creating an Online house rent system that will enable tenants to pay house rent online,check statements,a caretaker to write reports,landlord to write statements,add new tenants. I welcome all your ideas on how to go about it.The database requires either Ms-Excel or Mysql.

Member Avatar for diafol
0
100

The End.