Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+4
Strength to Decrease Rep
-1
73% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
Ranked #4K
~58.1K People Reached
Favorite Tags
Member Avatar for garyjohnson

Hello I have a simple for and PHP that uploads multiple images to a file. The problem is I want these images to be resized when they are uploaded. Does anyone know of a simple way to resize these images with PHP? I am not a professional so further explaining …

Member Avatar for haree54
0
3K
Member Avatar for garyjohnson

I am trying to allow my users to upload videos to my site and i have the php file upload but it will not work, it worked with images but once i changed it to video it stopped working this is the code <?php $allowedExts = array("mp4", "mov", "avi", "flv","mpg", …

Member Avatar for diafol
0
3K
Member Avatar for garyjohnson

I am doing a start up and am figuring out my stack. I've been using php for around 5 years now and am extremely familiar with it. However, I've recently been introduced to node.js and have seen it is on the rise. I'm not sure what to use for server …

Member Avatar for Kyle Wiering
0
282
Member Avatar for garyjohnson

Here is a link to a list of college names and their .edu email http://pastebin.com/LND21t5F I want to take those lines of code and put the .edu part into one coloumn of a database and the name of the college into another coloumn. My database is structure like this (id, …

Member Avatar for broj1
0
115
Member Avatar for garyjohnson

Okay I have a html upload form here, What is does is displays a browse button so users can upload files to my site, what I want them to be able to do is completly rename the file that they are uploading once they upload it to my site, but …

Member Avatar for Thobby
0
15K
Member Avatar for garyjohnson

I have a domain name lets say. mydomain.com and it has a hosting account. But I also have another domain name, mydomain2.com that doesnt have a hosting account. How can I make mydomain2.com go directly to mydomain.com? I am using Host Gator

Member Avatar for vps9.net
0
191
Member Avatar for garyjohnson

I have a div that has an image as its background. But the image only covers up about 80% of the screen. I want to make the extra 20% of the screen to be black but its only coming up as white. How can I set the background images and …

Member Avatar for shophiarajan47
0
418
Member Avatar for garyjohnson

I have an account with Host Gator that allows me to create my own email address's. I created my own email address, lets say its called "myemail@mydomain.com". Now I have a PHP script that automatically send out emails to users but when the emails are sent they are sent by …

Member Avatar for jKidz
0
319
Member Avatar for garyjohnson

I have a link that once clicked is suppose to make a div visible. So far it does but it only makes the div visible for a second then it returns to being invisible. I gave the div the value `display:none;` in Css and the javascript gives it the value …

Member Avatar for hericles
0
970
Member Avatar for garyjohnson

I am trying to create a website where users post onto a forum and leave and email adress so others can respond to the forum post but I want the email adress they leave to be encrypted like Craiglist does. So if my email is myemail@gmail.com it will be posted …

Member Avatar for cereal
0
107
Member Avatar for garyjohnson

I have a database which has multiple tables. I want all the table names to be displayed in a drop down html menu. I have a php function which I call on my html document. function namealbums() { $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); …

Member Avatar for dukumanis
0
3K
Member Avatar for garyjohnson

Hello, I have a few links that I have given a relative position. They have the widths set to 200px, however they do not follow this at all and only have the width wrap around text. When they had the position of float, they followed the width rule of 200px. …

Member Avatar for nauticalmac
0
239
Member Avatar for garyjohnson

Okay so I have an android app called Rate My Plate and it needs users. I mean it needs a lot of users. It's an app where if there are a low amount of users then it's pointless but the more users the better it is. Now I have tried …

Member Avatar for jafrain_jaff
0
180
Member Avatar for garyjohnson

I have a query that collects multple ID numbers and stores them into a php Array. I then want to make a mysql query for every result in the php Array. I believe I am on the right track but am getting an error saying the `join()` method has invalid …

Member Avatar for broj1
0
347
Member Avatar for garyjohnson

OKay so this my have been asked before but I have more of a general question than an issue. I don't understand Mysql_num_rows() becuase I don't have any information within my database table so the number or rows should be 0 but what happens is I get an error and …

Member Avatar for diafol
0
119
Member Avatar for garyjohnson

I can not access the database with Mysqli_connect(). I have all the correct information into the funciton but it wont let me. This is the syntack that I use $link = mysqli_connect("hostname", "username", "password", "db_name"); I get this error 10-01 22:20:27.182: E/JSON(8700): <br />n<b>Warning</b>: mysqli_connect() [<a href='function.mysqli-connect'>function.mysqli-connect</a>]: (42000/1044): Access denied …

Member Avatar for <M/>
0
145
Member Avatar for garyjohnson

Hello, this is a broad question but I need help selecting a webhost. Currently I am with GoDaddy and they are a great hosting site. The problem I have is they only allow 1GB how data to be stored in a database. They do allow unlimited databases but I am …

Member Avatar for mmcdonald
0
344
Member Avatar for garyjohnson

How can I replace <br>, \r, \n with " ". Which is an empty space. Is there a way to detect these characters in a string and replace them with a single white space?

Member Avatar for mmcdonald
0
1K
Member Avatar for garyjohnson

I want to remove all enters from an input and replace them with a single space. By that I mean something as </br>. So if someone places the input like this Hello, my name is bob. How are you? It will look like this, Hello, my name is bob. How …

Member Avatar for buzzfire
0
165
Member Avatar for garyjohnson

I have a query that selects data and places it into an array. This array can contain 'null' as a results. I want to remove all the varaibles that say 'null'. I have a code that is suppse to remove all the null variables but instead it replaces them with …

Member Avatar for diafol
0
263
Member Avatar for garyjohnson

I have a code that places the time into a database in the format Year-Month-Date Time. The time isnt in Pm or Am. I want to change the code from that into Month/Day/Year and the time in am or pm. Is this possible? Or should I be using a different …

Member Avatar for diafol
0
360
Member Avatar for garyjohnson

I have a database that contains multiple comments. Each comment has their own ID. I want to select 5 comments from the database, store the last comments ID into a variable and then select 5 more comments at a later time. When I collect 5 more comments at a later …

Member Avatar for pritaeas
0
132
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
249
Member Avatar for garyjohnson

This is my xml layout for the log in page <?xml version="1.0" encoding="utf-8"?> <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:fillViewport="true"> <LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:paddingBottom="@dimen/activity_vertical_margin" > <!-- Logo --> <TextView android:id="@+id/headText" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="60dip" android:textSize="45sp" android:fontFamily="sans-serif" android:textColor="#FFFFFF" android:textStyle="bold" android:layout_gravity="center" android:gravity="center" android:text="@string/logo" /> <!-- Email TextField --> <EditText android:id="@+id/loginEmail" android:layout_width="fill_parent" android:layout_height="wrap_content" android:inputType="text" android:hint="@string/username_text" …

Member Avatar for bCubed
0
4K
Member Avatar for garyjohnson

I have a query in php that has an offset in it. I want the offset value to be a variable but I am not sure how to do so. This is my query but it comes up as an error. $query = "SELECT * FROM comments WHERE `commenter_username` IN …

Member Avatar for diafol
0
181
Member Avatar for garyjohnson

Hello, I have a mysql query $query = "SELECT * FROM comments WHERE commenter_username IN (" . join(',', $list) . ") Or Number IN (" . join(',', $list) . ") ORDER BY comment_id DESC"; I want the query to select one row, the row with the highest id. Then store …

Member Avatar for Atli
0
296
Member Avatar for garyjohnson

I know this has been asked a thousand times in other locations but I have tried many solutions and can not get an answer. I have two divs, one called overlay and one called image_case. The overlay covers the entire page, then the image_case is suppose to be in the …

Member Avatar for JorgeM
0
325
Member Avatar for garyjohnson

Hello, I have a php script which detects if an image is vericle or horizontal. Then it resizes it to my certian specifications. An issue is I want the script to resize the image and then create a thumbnail image as well. The script works when resizing an image but …

Member Avatar for garyjohnson
0
135
Member Avatar for garyjohnson

Hello I have made a website for a cake making business and its my first website I am making for a customer and would like some input from some outsiders. I have only made the home page because I am not sure about my layout and if it looks good. …

Member Avatar for Lincoln65
1
214
Member Avatar for garyjohnson

I have a website that has 2 jquery sliders. This webisite works perfectly fine with both of them. I then created another site with the same exact code for 2 jquery sliders and this site will only run one slider and I can't find the problem! This is the html …

Member Avatar for garyjohnson
0
294