Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
33% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2

38 Posted Topics

Member Avatar for Joe34

Hey, I'm trying to open a web page inside my newest android app. (I'm following this guide...) [url]http://developer.android.com/reference/android/webkit/WebView.html[/url] My goal with the app is to open up the web page every time it gets opened, but the web pages need to open within the activity. With the code below, it …

Member Avatar for Hasan_11
0
1K
Member Avatar for Joe34

I'm trying to simply match these letters using php, but it's kind-of a complex matching formula... First, I have two arrays and one string. The arrays contain letters and the string is a near match of those letters. $a - [Array] Must be <= 7 $b - [Array] Must be …

Member Avatar for cereal
0
251
Member Avatar for Joe34

Let's say I have the letters... A,D, and G And O (It's special) How can PHP make all possible combinations with these words by using all or as little amount of letters as possible? (But special letters must be included in each scramble) For example PHP would go through those …

Member Avatar for pritaeas
0
2K
Member Avatar for Joe34

Here is my code... [CODE]function buildTimer(second,minute,hour,day,month) { if(getCookie('day') == "") { setCookie("month",month,1095); setCookie("day",day,1095); setCookie("hour",hour,1095); setCookie("minute",minute,1095); setCookie("second",second,1095); } var d = new Date(); var curr_month = d.getMonth(); if(month >= curr_month) { year = d.getFullYear(); } else { year = d.getFullYear()+1; } var Bday = new Date(year, month, day, hour, minute, second, …

Member Avatar for Airshow
0
127
Member Avatar for Joe34

Hello, I'm trying to edit my Wordpress widgets via the editor in Wordpress. Here is how it looks in Google Chrome (It should work this way)... [url]http://www.diigo.com/item/image/sd6o/ic51[/url] This is how it looks in Safari (It shouldn't look this way) [url]http://whosyourblogger.net/blog/wp-content/uploads/2011/10/Wordpress_widgets.png[/url] Here is my code... The first li is the email …

Member Avatar for Joe34
0
115
Member Avatar for Joe34

I think I must be blind ;) [CODE]$Title = $_POST['title']; $Category = $_POST['category']; $Content = $_POST['article']; $Tags = $_POST['tags']; $Description = $_POST['description']; //error below... $Title = addslashes($Title); //error above... $Category = addslashes($Category); $Content = addslashes($Content); $Tags = addslashes($Tags); $Description = addslashes($Description);[/CODE] I declared title the first time... $Title = $_POST['title']; …

Member Avatar for karthik_ppts
0
224
Member Avatar for Joe34

HTML... [CODE]<div class="title"> <h2>Texytyuyft</h2> </div>[/CODE] CSS... [CODE].title { position: absolute; height: 14%; width: 65%; left: 5%; top: 5%; background-color: #E8E8E8; z-index: 119; border-top-left-radius: 10px; border-top-right-radius: 10px; } .title h2 { position: absolute; color: #000000; z-index: 1200; }[/CODE] For some reason the text keeps going under the background. How can I …

Member Avatar for Joe34
0
151
Member Avatar for Joe34

It sounds confusing, but is quite simple. I have a square div, and using css I have four circles replacing the corners of the of the divs border. I want the user to be able to click on one of the corner circles changing the curser image and calling the …

Member Avatar for ko ko
0
304
Member Avatar for Joe34

Where can I get a free mysql thesaurus database? I would literally like to download a .sql file, and just upload it straight to my mysql host. I would just want in the thesaurus... Word Synonym #1 It would be great if it also had... Part of Speech Synonym #2 …

Member Avatar for kirstiebevilaqu
0
283
Member Avatar for Joe34

I keep getting undefined with this script... I [CODE]document.getElementById(new_id).style.top = Top; //Works Fine document.getElementById(new_id).style.left = Left; //Works Fine document.getElementById(new_id).style.backgroundColor = Background_Color; //Works Fine document.getElementById(new_id).style.border = Border_Width+" "+Border_Type+" "+Border_Color; //Works Fine new_code = document.getElementById(new_id); //Doesn't Work!!!! document.write(new_code.value);[/CODE] I style the element correctly, but when I want to write it I keep …

Member Avatar for ko ko
0
4K
Member Avatar for Joe34

This function executes the first time correctly, but the next time the function returns an error. [CODE]function edit_div(id) { if(edit_status == 0) { document.getElementById("addnew").innerHTML = '<form><h5>Move</h5>Top Margin: <input type="text" id="topmargin"></br>Left Margin: <input type="text" id="leftmargin"></br><h5>Backgorund</h5>Background Color: <input type="text" id="backgroundcolor"></br><h5>Border</h5>Border Width: <input type="text" id="borderwidth"></br>Border Type: <input type="text" id="bordertype"></br>Border Color: <input type="text" id="bordercolor"></br><input …

Member Avatar for Airshow
0
223
Member Avatar for Joe34

Hello take a look at my code then I'll tell you what error I get... [CODE]var Top = document.getElementById("topmargin").value; var Left = document.getElementById("leftmargin").value; var Background_Color = document.getElementById("backgroundcolor").value; var Border_Width = document.getElementById("borderwidth").value; var Border_Type = document.getElementById("bordertype").value; var Border_Color = document.getElementById("bordercolor").value; var num = id+1; var new_id = "a"+num; document.getElementById(new_id).style.top = Top; …

Member Avatar for Joe34
0
157
Member Avatar for Joe34

Look at the code... [CODE]var css_code = new Array(); css_code[css_code.length + 1] = "<div style='height: "+square_height+"; width: "+square_width+"; "+square_rounded+" border: "+border_width+" "+border_type+" "+border_color+"; position: absolute;'></div>";[/CODE] This is just a tiny snippet of a huge amount of code, but when I add a new item to the css_code array. An extra …

Member Avatar for Airshow
0
164
Member Avatar for Joe34

I found this code on some really awesome website, but I'm trying to change it up a little. As you can see a light box pops up after clicking the link. I want to make it where the light box automatically pops up without clicking the link? How? Thanks in …

Member Avatar for twiss
0
252
Member Avatar for Joe34

Okay, I have the content area of my Wordpress blog theme I'm creating. I want the content area to at least have a height of 600px, but if more content comes then I would like the height to change to what ever is necessary. So 600px automatically, but continue expanding …

Member Avatar for zizuno
0
158
Member Avatar for Joe34

Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-type) VALUES('1',' [CODE]$Query = mysql_query("INSERT INTO wp_posts(post_author,post_content,post_title,post_status,comment_status,ping_status,post_name,post_parent,menu_order,post-type) VALUES('1','$HTML_Content','$Page_Name','published','closed','closed','Contact-Me',0,0,'page')");[/CODE]

Member Avatar for debasisdas
0
57
Member Avatar for Joe34

I continue to get, function not defined when calling the function build_blog() through the function start()? [CODE]<html> <head> <style> </style> <script type="text/javascript"> var SEO; var conversion; var SMO; function Start() { document.write("Blog Name: <input type='text' id='name'><br> Blog System: <input type='radio' name='system' id='system' value='blogger'> Blogger<input name='system' type='radio' id='system' value='Wordpress'>Wordpress<br><input type='button' value='Build …

Member Avatar for Airshow
0
83
Member Avatar for Joe34

I have a textarea box that sends the information to Javascript via onclick(). I want to execute the code the user puts into the textarea. How can I do that? [CODE]var code = document.getElementById('code').value [/CODE] That's part of the function that gets called via onclick. See that variable is called …

Member Avatar for Airshow
0
145
Member Avatar for Joe34

Look at my code... [CODE]<html> <head> <script> var div1 = ""; var div2 = ""; var div3 = ""; var div4 = ""; var div5 = ""; var div6 = ""; var div7 = ""; var div8 = ""; var div9 = ""; function NewDiv(type) { if(div1 == "") { …

Member Avatar for hielo
0
159
Member Avatar for Joe34

I have an Adwords account with $100 in it. I want to be able to sell my Clickbank products on Google Adwords? Google Adwords doesn't allow bridge links like the ones Clickbank gives me? But I thought I might be able to do this.... [url]http://www.domain.com/?hop=joe34b[/url] Would that still give me …

Member Avatar for semef
0
391
Member Avatar for Joe34

How can I get some part of $B to be only [B]auto[/B](The first word in $A[1])? [CODE] if(preg_match('/^(.*)">(.*)/',$A[1],$B) == 1) { die($B[1]); } [/CODE] $A[1] is.... [B]auto[/B]">auto</a>, <a href="automobile">automobile</a>, <a href="motorcar">motorcar</a>, <a href="machine">machine</a></div><div class=Rel><a hr .................................... /tr><tr><td><a href="zw

Member Avatar for smantscheff
0
166
Member Avatar for arshalan
Member Avatar for Joe34

Alright here is my code... [CODE]<?php $Connect = mysql_connect("","",""); $DB = mysql_select_db(""); if(!$Connect || !$DB) { die("MySQL Error #1! Try Again Later!"); } if($_POST['car'] == "Alltel") { $To = $_POST['num']."@message.alltel.com"; } if($_POST['car'] == "AT&T") { $To = $_POST['num']."@txt.att.net"; } if($_POST['car'] == "BoostMobile") { $To = $_POST['num']."@myboostmobile.com"; } if($_POST['car'] == "CentennialWireless") …

0
80
Member Avatar for Joe34

Okay. I have a whole list of products. Some are the same thing ie: same titles I have a form where people search for the products. I organize the products by a rank I give each product when they are first created. I want to group up the products. For …

Member Avatar for smantscheff
0
90
Member Avatar for Joe34

Let's say I have a huge variable called $file $file contains thousands of lines of html, css, javascript and more. But, I want to be able to find all of these link and edit them. I want to only edit the ones that don't have a domain name. Example: I …

Member Avatar for Joe34
0
183
Member Avatar for Joe34

My code is suppose to crawl web pages, index the links, then crawl those web pages and on and on again! But it won't work? I get no errors what is wrong? I think it gets into the foreach but doesn't make it to the $DCheck if statement! [CODE]<?php if(empty($_SESSION['page'])) …

Member Avatar for lordspace
0
247
Member Avatar for Joe34

For example here is some code..... [CODE] preg_match_all("/<a(?:[^>]*)href=\"([^\"]*)\"(?:[^>]*)>(?:[^<]*)<\/a>/is", $stripped_file, $matches);[/CODE] What I don't get is all of those special characters? (?:[^>]*) How can I do this with the h1 tag, h2 tag, and h3 tag?

Member Avatar for blocblue
0
478
Member Avatar for Joe34

Can anybody tell me what is wrong with these mysql statements? I believe the LIKE is what is incorrect. [CODE] $Find_Query1 = mysql_query("SELECT * FROM pages WHERE title='$Search' AND keywords LIKE '$Search' AND description LIKE '$Search' "); $Find_Query2 = mysql_query("SELECT * FROM pages WHERE title LIKE '$Search' AND keywords LIKE …

Member Avatar for lyrico
0
75
Member Avatar for Joe34

Okay let's say I open the url, [url]http://www.nothing.com/[/url] using php's fopen function. then I do this, [CODE] <?php $S = sss $url = "http://www.nothing.com/" . $S . "&ql=1"; $open = fopen($url,"r"); while(! feof($open)) { echo fgets($open). "<br />"; } ?> [/CODE] That above returns all of the page I'm looking …

Member Avatar for chrishea
0
188
Member Avatar for Joe34

Okay I have a php form builder. I have a preview of the form the user is building. When the user submits the form the html form is built and the html code is displayed inside a <textarea>. It's all fine but, if I put a text area tag inside …

Member Avatar for mahavir123
0
77
Member Avatar for Joe34

html.html is below [CODE]<form action="734608271.php" method="POST" /> Carrier: <select> <option name="car" value="nothing">------------------------------</option> <option name="car" value="Alltel">Alltel</option> <option name="car" value="AT&T">AT&T</option> <option name="car" value="BoostMobile">Boost Mobile</option> <option name="car" value="CentennialWireless">Centennial Wireless</option> <option name="car" value="EinsteinPCS">Einstein PCS</option> <option name="car" value="Nextel">Nextel</option> <option name="car" value="Sprint">Sprint</option> <option name="car" value="T-Mobile">T-Mobile</option> <option name="car" value="US Cellular">US Cellular</option> <option name="car" value="VerizonWireless">Verizon Wireless</option> <option name="car" …

Member Avatar for diafol
0
113
Member Avatar for Joe34

Error: Parse error: syntax error, unexpected $end in _-----___ on line 89 [CODE]<?php $connect = mysql_connect("","",""); if (!$connect) { die("MySQL could not connect!"); } $DB = mysql_select_db(''); if(!$DB) { die("My SQL could not select Database!"); } $Car = $_POST['car']; $Num = $POST['num']; if($Car == "Alltel") { $To = "$Num" . …

Member Avatar for pritaeas
0
87
Member Avatar for Joe34

Here is my code it is built to create an html form. It works but when you go to the next question it says $_SESSION['q1'] doesn't exist? But I don't think I deleted it? What is wrong? [CODE]<?php session_start(); $connect = mysql_connect("127.0.0.1","root",""); if (!$connect) { die("MySQL could not connect!"); } …

Member Avatar for MooGeek
-1
121
Member Avatar for Joe34
Member Avatar for Joe34
Member Avatar for Joe34
0
108
Member Avatar for Joe34

The code was designed to create a new page with the random number and then it would insert code into the newly created file. This worked when I was using my localhost, but now I receive these error messages. I looked around the web and I saw somethings about permissions??? …

Member Avatar for nonshatter
0
496
Member Avatar for Joe34

That's all of my code and you can see at the end there's a die function can you tell me what I did wrong? It's this die function.... [code] if(!$Query) { die("There was an error creating your product!"); } else { echo "Yes! Your product was created I hope " …

Member Avatar for nonshatter
0
168
Member Avatar for Joe34

I'm creating a complex Contact form generator website. I know how to do everything except this one thing. For the user on my website to create a form they have to fill out another form asking questions such as how many questions are on your form..... But at the end …

Member Avatar for monica singh
0
114

The End.