Forums Page 109
-
Else statement screws up all css
Does anyone know what goes wrong in the process with this php code? This code seems to be causing it: <?PHP } else { echo " <div…
-
quick basic question, hopefully not dumb
I don't know how to search for this, so forgive me if it's been covered... I often see an example like this: $a = $b . " " . $c; // concatenate…
-
php web service error
hey guys, I'm working on a project requires the use of web services. I've been trying a few tutorials and I get this one persistent error. I've…
-
Upload, SSL and more php help
I recently just installed a ssl cert and do i use https for the whole site or just for the checkout.php and cart.php and login.php files? whats the…
-
returning data from an ssh2_exec()
here's what i got. $conn = ssh2_connect($this->_host); ssh2_auth_password($conn,$this->_user,$this->_pass)or die("Cannot Connect"); //build…
-
xml element exists
Code: [Select]<?xml version="1.0"?> <Addresses> <Address ID="1"> <Address2>101 MAIN ST</Address2>…
- Advertisement
-
images aren't rendering
I'm trying to call a JPG file from within PHP (in an effort to hide the actual JPG folder). The image is supposed to be called at…
-
query based on 2 conditions
I want to select if the doc_type is either s OR f but this doesn't work: Code: [Select]$query2 = "SELECT * FROM members WHERE doc_type='s' &&…
-
Drop Down and text box issue
Is it possible to set a drop down list and text boxes to a certain width? here is my code Code: [Select]echo "<select name='categories'>"; echo…
-
shoping cart issues
i´ve wrote this and works when i add an item to, my cart, but when i want to add othrer item just replaces the last one. please help!! Code…
-
Pulling out some result data from MYSQL
Hey Guys, I've built a PHP page that has a for just imagine something like registration form, So obviously it posts data into my table in my DB, So…
-
Concatenate two strings ???
I have string one $string1 and another $string2. How to concatenate (add) both of them $string1+" "+$string2 also check condition for the total…
-
Help please - How to validate from 2 possible answers
Hi I hope somebody can help me with what will probably be really simple, I'm pulling my hair trying to get my head round it. I've got a contact form…
-
How to grab certain words ??
I am working with this API Returns JSON. curl http://letsbetrends.com/api/current_trends How to grab just the trending topics Which come after "name"…
- Advertisement
-
Remove values in array2 from array1
I have two arrays. Array 1 is where the array key holds various different numbers. For example: Code: [Select]$array[32] = 1; $array[122] = 1…
-
php require help needed
Ok i tried to use the search funtion but the word require is everywhere. i'm really new to creating websites... I've built them in the past but…
-
Scrolling news bar and MySQL
I am not sure if this is the correct forum to post this on. If not, I apologize. I am still pretty new to PHP. I am editing a website for a friend…
-
How to validate from 2 possible answers
Hi I hope somebody can help me with what will probably be really simple, I'm pulling my hair trying to get my head round it. I've got a contact form…
-
Remove values in array2 from array1
I have two arrays. Array 1 is where the array key holds various different numbers. For example: Code: [Select]$array[32] = 1; $array[122] = 1…
-
want to add a break after a certain amount of characters
i was wondering how to add a break in a blog post after a certain amount of characters... any idea on how to do this??? this is the code i'm workig…