Forums Page 73
-
Call to undefined function mysql_fetch_accoc()
New to php/mysql coding. What's wrong with this sequence, or am I just not seeing to obvious? Getting, "Call to undefined function…
-
ob_ dynamic content
i was wondering about the potential to use ob to create a <div then remove it when the page has finished loading? ie loading cover.
-
Array becomes unset by itself?
Hi, I have a bit of experience with PHP but not extensive. It seems I cannot store any items to the array $details. The class: class Newsletter {…
-
Question about GD library
I am trying to make an image that shows a random quote from my database. However I want the quote to do 2 things. 1. It needs to word wrap so that it…
-
mysqli_fetch_assoc returns multiple arrays, how to return a single array
Hello, I am using mysqli_fetch_assoc which is returning multiple rows, so it looks like: Code: [Select]while($row = mysqli_fetch_assoc($result)) {…
-
PHP Include w/If IE Condition Statement?
I was having a problem with Internet Exploder (big surprise, right?) displaying my drop down menus improperly. I found a solution that works ... I…
- Advertisement
-
foreach result into a single variable
Hi, I have this code... Code: [Select]foreach ($_POST['Interests'] as $interest => $value) { echo "Interests: $interest; Value: $value ";} How do…
-
Working with popups and such in a class
I've recently started building my applications completely enclosed in classes. I like the fact that I can base everything off one root and work with…
-
Mysql query, two times?
Hello to all, I'm new to php coding and i like it alot. I need help with some noob stuff. 1. Having problem with mysql query after submiting HTML…
-
Changing color in GD via variable?
Hey guys, I'm new here. x) I'm very much a noob when it comes to PHP, but I'm trying to learn as much as I can. I've been writing a script which will…
-
Extracting URL pointer within XML tag
Hi. I'm trying to extract text between two quotation marks in XML. For example, I want to extract: <a href="www.thisisanexample.com">Click…
-
Display the user's weight lost in the past week
Hello everyone, I am working on a weight loss app for my site, and I want to display the user's weight lost in the past week, I have the current…
-
Filtering for a phrase using pregmatch
Here is my code which looks for addresses which start with ' src=" ' Code: [Select]preg_match_all('#src="(http://[^"]+)#', $value, $matches) I want…
-
Rss feed question
Hi My blog and my website are different. Am i able to take my rss feed from my blog and place it on the index page of my site using php and how to I…
- Advertisement
-
Must-Know Topics of PHP
Can you guys list the must-know topics of PHP. I am still a learner and I am trying to cover most of the important topics in PHP.
-
Checkbox info wont include in Mailto
Hey, im new to php. Basically I have made a form to request which type of job(s) are needed, which when filled will then be sent to an email address…
-
a dificult string search
Hi I don't know a way around this. I want the user to input a password, but to make it a bit complcated the password can be several words. "Today is…
-
Simple image grab script.
I was wondering if it was possible and if anyone knew how to make a simple php script that looks at one specified directory and makes <img…
-
Reditecting pages based on logic
Newbie here, apologies in advance! I am trying to use the header function to forward one of any number of locations (taken from a db) based on the…
-
Join Query Help
Hi all, I am having problems with the below code, which we shall call 'my first join query'! Suprise suprise its not working and I am getting an…