Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~19.4K People Reached
Favorite Tags
Member Avatar for RazorRamon

Hey you all I got a time calculation question. I'm attempting to do a lot of PHP and AJAX code appending to HTML. I want to know if my code below will accurately calculate the time of entire code being executed or solely just the PHP code. If it just …

Member Avatar for diafol
0
362
Member Avatar for RazorRamon

Ok I dunno why this isn't working. The alert outside the droppable says 0 but the alert inside the droppable says undefined. Anybody have an idea as to why? I want to start keeping a running count to when a person drops an object into the match div. I dont …

Member Avatar for Airshow
0
672
Member Avatar for RazorRamon

I am very new to zen cart.. like 2 weeks into it. I'm having an issue with a virtual product. I want to issue ads on my website and want to take purchase of ad space through zen cart. The user will create the ad, once they are happy with …

Member Avatar for getmused
0
90
Member Avatar for RazorRamon

I need some help. I'm loading a .php file using jquery. the php is a mysql query that pulls all the cities from Alaska. The problem is that I wrote my query a certain way and it seems jquery changes it when it loads it. state_alaska.php include 'config.php'; include 'opendb.php'; …

Member Avatar for pritaeas
0
233
Member Avatar for RazorRamon

Ok I need help. I have a couple hundred databases, which are different cities, that I am trying to connect with one query. each city has the same Sports table in it. I want to put the 100 most recent results on one page . The code below gets the …

Member Avatar for Biiim
0
1K
Member Avatar for RazorRamon

I'm centering my container div this way. #container{ position: absolute; left: 50%; margin:0 auto; height:100%; width:1024px; margin-left: -512px; text-align:left; } The div centers in the window, however when the user resizes the window to smaller than 1024 the window starts showing the center of the page. How can i make …

Member Avatar for almostbob
0
238
Member Avatar for RazorRamon

Ok i have this long bit of code that determines how long ago someone input a post or comment. The only bit of the code that is giving me problems is at the very beginning. When i place a fresh topic or comment it doesn't go into the " just …

Member Avatar for diafol
0
373
Member Avatar for RazorRamon

Ok over the last several weeks i've been building a website for fun. Its basically a forum site, with topics and comments. I use queries in their basic form. Now that i'm trying to protect my site I'm getting the impression that i have to rewrite all of my code. …

Member Avatar for minitauros
0
280
Member Avatar for RazorRamon

I've been looking to secure a site that has many queries involved. I've always known about mysql real escape string for a while but recently i ran across prepared statements. I had a few questions about them. Is it a good idea to use both? is this over kill? When …

Member Avatar for diafol
0
155
Member Avatar for uvray90

Hello Friends...:) I am a part time web designer and small time PhP developer by side. I recently got a request from one of my clients that he needs a site in which he is offering some service( some spiritual advice kind of stuff based upon your date of birth …

Member Avatar for RazorRamon
0
182
Member Avatar for RazorRamon

I began doing some research on Paypal API code yesterday and have been lookin through a lot of the examples on the web. A lot of the examples i'm seeing seem to be heavily OOP. Ive never really tried any object oriented type of code I mainly do procedural. Can …

Member Avatar for pritaeas
0
67
Member Avatar for RazorRamon

Hello yall, I'm starting to work with Paypal (just signed up for x.com and sandbox). I was looking at the DoDirectPayment API for credit card transactions. One of the required fields kinda took me by surprise. Here it is. [CODE] IPADDRESS (Required) IP address of the buyer's browser. Note: PayPal …

Member Avatar for pzuurveen
0
307
Member Avatar for RazorRamon

I have a mysql table that has id, name, type, size, content, and link. I have pages download.php and showimage.php. I want the link to affect the image so when the user clicks it sends them their. I only created showimage.php cause I had ran out of options on how …

Member Avatar for RazorRamon
0
3K
Member Avatar for RazorRamon

Hello I'm looking to allow users upload pictures onto my site and have it displayed and linked to their site.. This process is for Ad purposes. Ive looked into php mysql uploading images but ive ran into a lot of threads condemning the practice and suggesting saving the images to …

Member Avatar for diafol
0
167
Member Avatar for RazorRamon

Ok i have a lot of tables that are created when a user inputs information. Some info gets stored in a "Main" table while the majority is saved in its own self created table. I do not know the number of "topics" in Main table. so in way i'm trying …

Member Avatar for pritaeas
0
115
Member Avatar for RazorRamon

I have a variable [ICODE]$topic = $POST_['topic'][/ICODE] that is entered by the user, it can possibly have spaces. I want to create a table based on this variable. Right now the code creates the table but only uses the first word. [CODE] $create="Create TABLE $topic (I know this part works)"; …

Member Avatar for pritaeas
0
93
Member Avatar for RazorRamon

Quick question on PHP and HTML rules. Is the code below valid? I want to use php in the head section and body or a website i'm building but i dont want to add extra work for myself. [CODE] <html> <title>HTML with PHP</title> <body> <h1>My Example</h1> <?php include config.php $here=$_GET['city']; …

Member Avatar for diafol
0
156
Member Avatar for RazorRamon

hello, I have a situation that i'm wondering if there's a solution. I have specific databases for different cities in texas. I plan on adding more but i do not nkow how many more or what their names will be. Every city is going to have the same tables in …

Member Avatar for pritaeas
0
76
Member Avatar for RazorRamon

Ok I am stumped so bad. I am using a form to insert a topic and comment into a table and if the topic is new it creates a new table specific to that topic. So I pass the topic name through the url and Im trying to retrieve it …

Member Avatar for Stefano Mtangoo
0
8K
Member Avatar for RazorRamon

Ok this is as basic a jquery coding as you can get.. Why does div id=tx show on load??? I'm testing this on wamp localhost...www folder. Any help?? Is there anything i need to do to save the jquery.js? jquery.js is in the same folder as this page. [CODE] <html> …

Member Avatar for stbuchok
0
193
Member Avatar for RazorRamon

Ok i'm trying to build a forum with jquery ajax characteristics. Below is the html/jquery coding. And i know jquery is loaded because I did the [ICODE]alert(1);[/ICODE] inside the document ready and it worked. [CODE] <!doctype> <html> <head> <title>Shouts!</title> <script src="jquery.js"></script> <script> $(document).ready(function() { $("#messages").load(function('loadchat.php'); $("#post").submit(function(){ return false; }); }); …

Member Avatar for xylude
0
550
Member Avatar for RazorRamon

Can you all tell me the difference in these 2 codes? I'm trying to learn JQuery and ive seen this code below in the tutorials. [CODE] $DB->Query("Select * FROM time"); [/CODE] I'm use to coding queries like this. [CODE] $res = mysql_query("SELECT timestamp, name FROM time ORDER BY timestamp DESC"); …

Member Avatar for P0lT10n
0
149
Member Avatar for RazorRamon

I built a quick date time test page. The coding is below followed by its results. I'm entering the raw timestamp into table time because i want to be able to manipulate it once i show it (say if i want to show time and date using the same timestamp). …

Member Avatar for RazorRamon
0
309
Member Avatar for RazorRamon

Ok I'm trying to build a forum site. I have multiple tables representing the different categories that the user can select from. I'm working on the head page and what I want to do is retrieve the 10 last most recent comments posted across all tables. I want to use …

Member Avatar for RazorRamon
0
247
Member Avatar for RazorRamon

Hello all, I'm trying to build a forum site. The code below works fine but I dont know how to catch it from the address bar. I'm having trouble finding tutorials to help me with this. viewtopics.php [CODE] echo "<tr bgcolor='#6698FF' ><td><a href='viewcomments.php?id=".$rows['topic']."'> ".$rows['topic']."</a></td><td>".$rows['username']."</td><td>".$rows['timestamp']."</td></tr>"; [/CODE] Address Bar [CODE] http://localhost/testsite/viewcomments.php?id=Cowboys%20Dancehall [/CODE] …

Member Avatar for RazorRamon
0
286
Member Avatar for RazorRamon

I want the query to retrieve topics but if the topic repeats I only want one result to show up, no duplicates. I also want it to return username and timestamp. Here is what i have now but I get an error. [mysql_fetch_array() expects parameter 1 to be resource]. Anybody …

Member Avatar for karthik_ppts
0
195
Member Avatar for RazorRamon

Ok I am stumped. I am inserting the data fine into the table and database so i know its not the config.php nor opendb.php. I used a code like this before and it work, i've only altered the $sql, the td's, and the $rows[]. Table name is hotspots (all lower …

Member Avatar for IIM
0
624
Member Avatar for RazorRamon

Ive used date() before but I do not remember how to store it in mysql. VARCHAR, TEXT, TIMESTAMP?

Member Avatar for IIM
0
99
Member Avatar for RazorRamon

I'm having trouble with this php mail code. I'm not sure if I altered it on accident with I copied and pasted it from other sites i've worked on. It send the email however its blank, it only shows: Name: Phone: Email: Description: HTML code [CODE] <DIV style=" background-image: url(background.png);position: …

Member Avatar for sharathg.satya
0
183
Member Avatar for RazorRamon

Im thinking about taking on a chat room php based project. I want to make sure my logic is right though. This is very raw so please feel free to contribute if you see any problems that might occur. [B][U]MYSQL[/U][/B] [U]TABLES[/U] Username chatroom1 chatroom2 etc.. [B][U]PHP[/U][/B] [U]Sign up.php[/U] Insert username …

Member Avatar for FreddieBambino
0
176