Odd PHP/jQuery Issue
I am attempting to assign a class to an element with a specific ID using jQuery. I've done this before without any problems, but for some reason, it's refusing to work now. Here is a series of divs...
View ArticleReferral URL/Point system
I have a working registration/login system. I am trying to set up a basic referral type system for a contest. The user (already registered in members table) fills out the contest form, it spits out...
View ArticleCurl and Preg Match
I want to get every thing thats inside <div class="from_the_editor"> </div> but this gets everything past that is they a way to make it so that it only grabs whatevers inside that div $url...
View ArticleGuestbook issue when inserted into template
Hi everybody, Im new to php and have some experience with html. Currently im a building a website which connects to a database. Sos far so good. Also I have built a guestbook which works fine....
View Articlethe site, where i am admin was hack?
any advice for what would i do? to do not happen it again? what security should i use? or is there i have to change for the security? please help need your all advice
View ArticleHow to make mark sign insert into database and can be retrieve from database
May I know any example to insert data using input type=text and the data was input is ✓ How to insert it and how to retrieve it
View ArticleIf string contains #mudder Add to the database
Hello all, I am able to pull the last 4 tweets made by a user and add them to a database but I only want to add the last 4 tweets that have '#mudder' in. this is what I have so far MyTimeLine.php...
View ArticleBasic Question
Hi guys. I am new to PHP and website design and also new to the forums. I am basically trying to teach myself as much as possible about PHP, HTML, SQL & CSS. I am planning to start by...
View ArticleAutomate Deployments with Git, Bitbucket and PHP
I'm in the process of trying to set up automatic deployments when I make a git push to my bitbucket repository. I have a php deploy script that I leveraged from...
View Articlehow to upload, save, and store zip file
hi, can someone post quick and easy function to upload a zip file and save it to hosting folder. e.g i got image folder where i want to save zip file. then second i want to save this into database....
View ArticleWarning: mysql_num_rows(): supplied argument is not a valid MySQL result...
<?php //session status block include "connect_to_mysql.php"; ?> <?php //script error reporting //error reporting error_reporting(E_ALL); ini_set('display_errors','1'); ?> <?php //parse...
View ArticleNeed help with PHP BUTTONS!
Before I start I am new to this so if i have left anything out please do tell . I am creating a quiz which is multiple answer. I am using Submit buttons. I have tried multiple codes such as $_GET...
View ArticleUpdate data using button
//countercashadminlocation2.php <?php session_start(); ini_set('session.bug_compat_warn', 0); ini_set('session.bug_compat_42', 0); if (empty($_SESSION['is_logged_in'])) {...
View ArticleHow to "Show" Based on Recordset Contents
Hi all, Okay, I'll try to explain briefly but thoroughly on what I'm trying to do. FYI I have a general working knowledge of PHP & mySQL, and use Dreamweaver and it's built-in tools...
View ArticleNeed help echoing out an array using a function
Hey, I am new to learning PHP and I am trying to echo out an array using a function, but its just displaying "array" Can someone please tell me what am i doing incorrectly? Thanks! <?php function...
View ArticleSQL query fails when using bindValue, but works when value is explicitly stated
Hello, I have the following code: $sql = 'SELECT id, name, research_interests FROM students ORDER BY name ASC'; $s = $pdo->prepare($sql); $s->execute(); This code works with no problems. But...
View ArticleA better way to query this?
Hello all, this is my first post on phpfreaks. I'm trying to figure out what the better way to write this is. I think that the way I have it is very slow and not the best way to. Any idea?...
View ArticleConverting ASCII to UTF-8
Hi, I have the following text: Utaz&AOE-s If I check the encoding of this text with mb_detect_encoding, it says that the text is pure ASCII. My page's encoding is UTF-8, so on the webpage I...
View Articleconvert this code from asp to php (date related)
Hey guys, Im wanting to have this bit of code rewritten into PHP. It basically checks the date pulled from the DB and if its only 2 days old, it displays a "new listing" image. <%share_newlisting...
View Articlehow to use a string as custom variable
Hello i need a way to do this: i have a mysql query to load the results with mysql_fetch_object, so i have in database two fields like title_english and title_german via php i setup the language with...
View Article