SpiderPhp

Just another WordPress weblog

Posts Tagged ‘Into’

How Do I Get Information From Php And Put It Into Flash 8?

Posted Wednesday, February 10th, 2010
Tags: , , ,
Posted in 6 | 3 Comments »

I want to know how to get information from a PHP file and load it in flash
(so that I can change stuff in a swf without haveing to replace it everyday)

How Do I Incorporate Mysql And Php Into My Website Domain?

Posted Wednesday, December 30th, 2009
Tags: , , , ,
Posted in Uncategorized | 3 Comments »

All the queries and mysql connections work fine on my computer as localhost. What should be changed in this line: $mysqli = new mysqli(“localhost”, “root”, null, “portfolio”); if I want to connect the database to my web domain?
Currently using wamp server with phpmyadmin. What steps should I take so that the queries in my codes work when uploaded to the website server?

the first 100 results in the first page and then the remaining results in the subsequent pages.

I’m trying to make special characters allowed, but when they are entered into a form, they don’t do anything with the code, in which they are processed through. Kinda like on this form that I’m typing. I can enter all the code I want, but when it submits, it will appear as I have typed it. Any ideas? examples would be great.
I believe it has something to do with regular expressions in PHP, and I have read mutiple websites about how to do this, but I just don’t get it. Please help.

There are lots of php scripts in the market. I have downloaded and edited pligg, a digg clone-script. What I need is how to make a user (signing up in one of the user authentication script) to sign in Pligg?

How To Store Input From Checkboxes Into Mysql Using Php?

Posted Sunday, November 1st, 2009
Tags: , , , , , ,
Posted in Uncategorized | 1 Comment »

I want to add categories to a companies database. Based on another tutorial I made three tables:
companies
categories
lookup_category
lookup_category somehow stores the relationship between the other two, but the tutorial’s example code was full of errors and gaps, so I’m stuck.
What’s the most efficient/flexible way to add “a categories dimension” to a collection of records in MySQL? Can anyone give a stripped down working example without BS?
Thanks!

What I am doing is when a user submits a page to my database (mySQL) it stores the day it was submitted. I want to be able to output to a specific page all submissions within 5 days time.
Of course it will change the output daily by dropping the 5th day and picking up the current day.

How To Insert The Current Date And Time Into A Php Mysql Database?

Posted Sunday, October 25th, 2009
Tags: , , , , , ,
Posted in Uncategorized | 2 Comments »

I’m creating a blog website. When a user submits a new blog, I want the blog to be saved into my PHP database, along with the exact date and time that it was submitted.
For storing the date and time, I have a datetime field that is set to “not null”. I’ve tried leaving that field blank when I’m processing a blog submission:
insert into blogs values ‘$title’, ‘body’, ‘ ‘;
(notice the empty quotation marks)
but, when I do that, the field in the database is filled with zeros: 0000-00-00 00:00:00 . I’m using this field as my primary key, so I can’t have them all filled with 0’s!
How do I get the database to enter the current date and time? I’ve tried changing the field to a timestamp, but that didn’t help.
I’m using PHP 5.

How Do I Pass Arrays, Lists And Objects Into A Sql Database Using Php?

Posted Saturday, October 24th, 2009
Tags: , , , , , ,
Posted in Uncategorized | 3 Comments »

I’m trying to figure out the best way to go about doing this, my experience with SQL is pretty limited.

Hello,
I am a noob with PHP but I do run and operate a mySQL database server. Basically what I am attempting to do is have microsoft excel spreadsheets on a webbased webpage so that I can add and calculate values from my webserver from anywhere in the world. It would make life wonderful for me, but I have no idea where to begin. Can someone help?